| 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)
Syntax public 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