ErrorProvider Xojo Plugin

DesktopErrorProvider.MouseDown Event

This event is fired when the error gets mouse down on.

MouseDown(
   source as DesktopUIControl,
   legacySource as RectControl,
   x as Integer,
   y as Integer) as Boolean

Parameters

source
The source control that indicates which error the event applies to. (This can be nil if the source is old style control, in which case the legacySource parameter would contain reference to the control).
legacySource
The legacy source control that indicates which error the event applies to. (This can be nil if the source is new style control, in which case the source parameter would contain reference to the control)
x
X coordinate of the mouse relative to where the error is displayed.
y
Y coordinate of the mouse relative to where the error is displayed.

Returns

Boolean

Remarks

Use the source parameters to detect which error got mouse down.

This event follows same rules as normal Xojo mouse down events, returning true, makes it give you a mouse MouseUp event when the mouse goes up.

See Also

DesktopErrorProvider Control