Products Downloads


French version


 

Important note: These properties are event parameters; they are only accessible in execution mode and are only valid while the Adelia code linked to the event is being executed.


This property relates to the DD_EnterDrag, DD_DragOver and DD_Drop events.

This property specifies what action would be performed if the user released the mouse button at the current position. It is updated by the destination object (located beneath the mouse pointer), with the DD_EnterDrag and DD_DragOver events.

It is used by the system to determine the shape of the mouse pointer, and by the destination object with the DD_Drop event.

Drag and drop operations can only be successfully completed if the destination object accepts a copy or move action upon the DD_DragOver event.

Adelia type

NUM_BIN_4

Accessibility

Read only mode for the DD_Drop event.

Write only mode for the DD_EnterDrag and DD_DragOver events.

Associated constants


_DD_ACTION_NONE

The drop is not authorized.

_DD_ACTION_MOVE

Data can be moved to the destination object.

_DD_ACTION_COPY

Data can be copied to the destination object.



This property relates to the DD_EnterDrag, and DD_DragOver events.

This property specifies which actions the source object allows the user to perform in the destination object.

The value is the one set in the DD_EXECUTE_DRAG method.


Adelia type

NUM_BIN_4

Accessibility

Read only mode for the DD_Drop event.

Write only mode for the DD_EnterDrag and DD_DragOver events.

Associated constants


_DD_ACTION_COPY

Data can be copied to the destination object.

_DD_ACTION_MOVE

Data can be moved to the destination object (and deleted from the source object).

_DD_ACTION_COPY_MOVE

Data can be copied or moved.



This property relates to the DD_BeginDrag, DD_EnterDrag, and DD_DragOver events.

It indicates the status of the Ctrl, Alt and Shift keys (i.e. either pressed or not) when the event occurred.

Adelia type

NUM_BIN_4

Accessibility

Read only

Associated constants


_DD_NO_KEY

No key is pressed.

_DD_SHIFT_KEY

The Shift key is pressed.

_DD_CTRL_KEY

The Ctrl key is pressed.

_DD_ALT_KEY

The Alt key is pressed.

_DD_CTRL_ALT_KEY

The Ctrl and Alt keys are pressed.

_DD_CTRL_SHIFT_KEY

The Ctrl and Shift keys are pressed.

_DD_ALT_SHIFT_KEY

The Alt and Shift keys are pressed.

_DD_CTRL_ALT_SHIFT_KEY

The Ctrl, Alt and Shift keys are pressed.



This property relates to the DD_BeginDrag, DD_EnterDrag, and DD_DragOver events.

It indicates the states of the left, right and middle mouse buttons when the event occurred.

Adelia type

NUM_BIN_4

Accessibility

Read only

Associated constants


_DD_NO_BTN

No button is pressed.

_DD_LEFT_BTN

The left button is pressed.

_DD_MIDDLE_BTN

The middle button is pressed.

_DD_RIGHT_BTN

The right button is pressed.

_DD_LEFT_RIGHT_BTN

The left and right buttons are pressed.

_DD_LEFT_MIDDLE_BTN

The left and middle buttons are pressed.

_DD_MIDDLE_RIGHT_BTN

The middle and right buttons are pressed.

_DD_LEFT_MIDDLE_RIGHT_BTN

The left, middle and right buttons are pressed.



This property relates to the DD_BeginDrag, DD_EnterDrag, DD_DragOver and DD_Drop events.

This property contains the mouse pointer's X-axis coordinate, relative to the object. The property's value will be 0 if the pointer is over the object's left-hand edge.


Adelia type

NUM_BIN_4

Accessibility

Read only

Associated constants

None



This property relates to the DD_BeginDrag, DD_EnterDrag, DD_DragOver and DD_Drop events.

This property contains the mouse pointer's Y coordinate, relative to the object.

The property's value is 0 if the pointer is over the object's top edge.

Adelia type

NUM_BIN_4

Accessibility

Read only

Associated constants

None



Selected icon ID. Relates to the AfterContextMenu, BeforeContextMenu, IconClick IconClick, IconDblClick, NotificationClick, NotificationDblClick events.

Adelia type

ALPHA(250)

Accessibility


Layout design mode

Read

Execution mode

Read

Associated constants

None

Conditions of use

None

Default value

None



↑ Top of page