CustomButton Xojo Plugin

CustomButton.MouseDown Event

The mouse button was pressed inside the CustomButton’s region.

MouseDown(
   x as Integer,
   y as Integer) as Boolean

Parameters

x
The x coordinate of the mouse.
y
The y coordinate of the mouse.

Returns

Boolean
Return true if you want to get MouseDrag and MouseUp events.

Remarks

Note: use the Action event to detect clicks.

See Also

CustomButton Control