Skip to content

Mouse_Drag - cUIObject

Sent whenever the first button of the mouse is being held down while users drag the mouse cursor from one item or edit line of the object to the next

Type: Event

Parameters

Parameter Type Description
iWindowNumber Integer the window item (1-based)
iPosition Integer the position within the window

Syntax

Procedure Mouse_Drag Integer iWindowNumber Integer iPosition

Description

Mouse_Drag is sent whenever the first mouse button is being held down while users drag the mouse cursor from one item or edit line of the object to the next. 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.

Col 1 Col 2
Note: This event does not apply to the Codejock Grid controls. See OnComMouseDown and OnComMouseUp for cCJGrid and its subclasses.