DragEventArgs.Create

Syntax

Create(AllowedEffect: DragDropEffects; Data: Variant; KeyState: Integer; Point: IPoint; Effect: DragDropEffects);

Parameters

AllowedEffect - look of cursor during the current Drag&Drop execution.

Data - object that is dragged.

KeyState - state of the SHIFT, CTRL and ALT keys and mouse buttons.

Point - mouse cursor coordinates in the client area of a component.

Effect - type of dragging.

Description

The Create constructor creates an argument of the events that occur when objects are dragged using the Drag&Drop mechanism.

See also:

DragEventArgs