Parameter | Description |
---|---|
iWindowNumber | the window item (1-based) |
iPosition | the position within the window |
Procedure Mouse_Down Integer iWindowNumber Integer iPosition
Mouse_Down is sent whenever the first mouse button is pressed down while on an item or in the edit window of the object. The parameters indicate the position of the mouse cursor within the object. The mouse messages perform no action in the definition of cUIObject; their actions are always defined in higher-level classes.
Mouse_Down can be augmented to do something when the mouse button is clicked when the user is in a specific object.
This sample will first complete the Mouse_Down event as defined in the superclass (via forward send) and then fire the DoSomething method of object oMyObject.
Procedure Mouse_Down integer iWindowNumber integer iPosition forward send Mouse_Down iWindowNumber iPosition send DoSomething of oMyObject End_Procedure
Note: | This event does not apply to the Codejock Grid controls. See OnComMouseDown and OnComMouseUp for cCJGrid and its subclasses. |