Products Downloads


French version


 

Triggered when the user left- or right-clicks over an object, on an element having the DRAG_DROP property set to *TRUE.

 

This event lets the user perform a drag and drop operation using the DD_EXECUTE_DRAG method, once the data to be transferred has been specified by the DD_WRITE_DATA method.

 

The DD_KEYBOARD_STATE and DD_MOUSE_STATE properties identify which buttons and keys are depressed when the event occurs.

 

The DD_X_AXIS and DD_Y_AXIS properties contain the mouse pointer's position relative to the object.

 

If the object related to the clicked element manages the RightButtonDownClick event, its Adelia code is run before DD_BeginDrag's code.

 

 

Triggered in a destination object when the mouse pointer is over the object.

 

The DD_KEYBOARD_STATE, DD_MOUSE_STATE, DD_X_AXIS and DD_Y_AXIS properties contain the keyboard and mouse statuses, and the mouse pointer's coordinates relative to the object.

 

The DD_DATA_AVAILABLE and DD_READ_DATA methods can be used.

 

The DD_ALLOWED_ACTIONS property contains the actions that the source object allows the user to perform.

 

At the end of the event, the DD_ACTION_DROP property should contain the action that would be performed if the user released the mouse button at that location. This value is used by the system to determine the mouse pointer shape.

 

 

Triggered in a destination object when the user releases the mouse button.

 

The DD_ACTION_DROP, DD_X_AXIS and DD_Y_AXIS properties contain the action performed and the mouse pointer's coordinates relative to the object.

 

The DD_DATA_AVAILABLE and DD_READ_DATA methods can be used to retrieve the transferred data.

 

Releasing the mouse button terminates the DD_EXECUTE_DRAG method that was executed as a result of the source object's DD_BeginDrag event.

 

If the action is a 'move' action, the data must be deleted from the source object.

 

 

Triggered in a destination object when the mouse pointer arrives over the object.

 

The DD_KEYBOARD_STATE, DD_MOUSE_STATE, DD_X_AXIS and DD_Y_AXIS properties contain the keyboard and mouse statuses, and the mouse pointer's coordinates relative to the object.

 

The DD_DATA_AVAILABLE and DD_READ_DATA methods can be used.

 

The DD_ALLOWED_ACTIONS property contains the actions that the source object allows the user to perform.

 

The DD_ACTION_DROP property can be updated to indicate what action would be performed if the user released the mouse button at that location. This value is used by the system to determine the mouse pointer shape.

 

 

Triggered in a destination object when the mouse pointer moves away from the object.

 

 

↑ Top of page


  • Aucune étiquette