DragEventArgs.Create

Syntax

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

Parameters

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

Data is an object that is dragged.

KeyState is a state of SHIFT, ALT and CTRL keys and mouse buttons.

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

Effect is a type of dragging.

Description

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

See also:

DragEventArgs