Important: 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.
Relates to the DD_EnterDrag, DD_DragOver and GD_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 with 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 |
Drop action is not permitted. |
_DD_ACTION_MOVE |
Data can be moved to the destination object. |
_DD_ACTION_COPY |
Data can be copied to the destination object. |
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.
Its value is as specified in the DD_EXECUTE_DRAG method.
Adelia type |
NUM_BIN_4. |
Accessibility |
Read only mode. |
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 either moved or copied. |
Relates to the DD_BeginDrag, DD_EnterDrag and DD_DragOver events.
This property indicates the states 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 mode. |
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. |
Relates to the DD_BeginDrag, DD_EnterDrag and DD_DragOver events.
This property indicates the states of the left, right and middle mouse buttons when the event occurred.
Adelia type |
NUM_BIN_4. |
Accessibility |
Read only mode. |
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. |
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 mode. |
Associated constants |
None. |
Relates to the DD_BeginDrag, DD_EnterDrag, DD_DragOver and DD_Drop events.
This property contains the mouse pointer's Y-axis coordinate, relative to the object.
The property's value will be 0 if the pointer is over the object's top edge.
Adelia type |
NUM_BIN_4. |
Accessibility |
Read only mode. |
Associated constants |
None. |