Skip to content

OnBeginDrag - AbstractTreeView

Fired on a mouse drag operation using the left mouse button

Type: Event

Parameters

Parameter Type Description
hItem Handle Item handle that the user began the drag operation on

Syntax

Procedure OnBeginDrag Handle hItem

Description

Fired on a mouse drag operation using the left mouse button.

Note that the control does not have any drag-and-drop operations built-in, so it is your responsibility to perform the necessary operations using this event to trigger the beginning of the drag.

Sample

Procedure OnBeginDrag
    Forward Send OnBeginDrag
    // do something when user drags the left mouse button
End_Procedure