ErrorProvider Xojo and Real Studio Plugin

ErrorProvider.GetMessage Method

Gets the error message that belongs to a given control. This is for example often used in mouse down event on the error provider.

GetMessage(
   source as RectControl) as String

Parameters

source
The source control to obtain the error message from.

Returns

String
The error message from the chosen control or empty string if not found.

Remarks

Function MouseDown(source as RectControl,x as Integer,y as Integer) As Boolean
    MsgBox ErrorProvider1.GetMessage(source)
End Function

See Also

ErrorProvider Control