ErrorProvider Xojo Plugin |
|
DesktopErrorProvider.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 DesktopUIControl)
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
This variation of the method will only exist on Xojo 2021r3 and later.
See Also
DesktopErrorProvider Control