 | CTInterfaceValidateCustomPropertiesArgsSetError Method |
Call to set a message to CUSTOMTOOLS Properties and preventing exit with OK/Apply.
Automatically sets
CancelMessage and
CancelCaption
according to params and also
ShowError to TRUE.
Namespace: ATR.CT.CTInterfaceAssembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntaxpublic void SetError(
string oCaption,
string oMessage
)
Public Sub SetError (
oCaption As String,
oMessage As String
)
Parameters
- oCaption String
- Caption. Localized "Error" will be shown if left empty.
- oMessage String
- The message
See Also