 | 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.CTInterface
Assembly:
CTInterface (in CTInterface.dll)
Syntaxpublic void SetError(
string oCaption,
string oMessage
)
Public Sub SetError (
oCaption As String,
oMessage As String
)
Parameters
- oCaption
- Type: SystemString
Caption. Localized "Error" will be shown if left empty. - oMessage
- Type: SystemString
The message
See Also