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: Integer iWindowNumber Integer iPosition

ParameterDescription
iWindowNumberthe window item (1-based)
iPositionthe 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.

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