Products Downloads


French version


 



BeginDragDrop

Triggered when the user begins a drag and drop procedure. The selected element is given by the ACTION_ELEMENT property.

Note: This event is not implemented by the Cloud generator.


Collapse

Triggered when the user collapses a node. The contracted element is given by the ACTION_ELEMENT property.


ContextSensitiveMenu

Triggered when the contextual menu associated with the object is about to be displayed. The element under the mouse cursor that causes the menu to be displayed is given by the ACTION_ELEMENT property (which may be set to _TRV_NONE).


DD_BeginDrag

Triggered when the user left- or right-clicks over an element with 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. The ACTION_ELEMENT property identifies the clicked element.

If the object supports the RightButtonDownClick event, the Adelia code for this event is executed before the code for DD_BeginDrag.


Notes:

This event is not implemented by the Java generator.

It is not available in Mobile generation.


DD_Drop

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 ACTION_ELEMENT property identifies the element (if it exists) under the mouse pointer.

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.


Notes:

This event is not implemented by the Java generator.

It is not available in Mobile generation.


DD_EnterDrag

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 ACTION_ELEMENT property identifies the element (if it exists) under the mouse pointer.

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.


Notes:

This event is not implemented by the Java generator.

It is not available in Mobile generation.


DD_ExitDrag

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


Notes:

This event is not implemented by the Java generator.

It is not available in Mobile generation.


DD_DragOver

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.

The ACTION_ELEMENT property identifies the element (if it exists) under the mouse pointer.

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.


Notes:

This event is not implemented by the Java generator.

It is not available in Mobile generation.


ElementChecked

Triggered when the user checks an element. The checked element is given by the ACTION_ELEMENT property.


Conditions for use: the CHECK_BOX property value must be set to *TRUE.



ElementUnchecked

Triggered when the user unchecks an element. The unchecked element is given by the ACTION_ELEMENT property.


Conditions for use: the CHECK_BOX property value must be set to *TRUE.


EndDragDrop

Triggered when the user concludes the drag and drop procedure by dropping the selected element onto a permitted element. This element is given by the ACTION_ELEMENT property.


EndEdit

Triggered when the user finishes entering text for a given element. The modified element is given by the ACTION_ELEMENT property.


Expansion

Triggered when the user expands a node. The expanded element is given by the ACTION_ELEMENT property.


KillFocus

Triggered when the object loses the focus.


LeftButtonClick

Triggered when the user clicks on the object with the left mouse button. The element under the mouse cursor when it is clicked is given by the ACTION_ELEMENT property (which may be set to _TRV_NONE).


MouseMove

Triggered when the mouse pointer is moved within the area covered by the object.


MoveDragDrop

Triggered when the user moves the element selected at the start of the drag and drop procedure over another element. This element is given by the ACTION_ELEMENT property. You can indicate to the user that they can release the selected element over this element by setting the DRAG_DROP_ACTION property to *TRUE. To prevent the selected element from being dropped onto this element, set this property to *FALSE.

Note: This event is not implemented by the Cloud generator.


RightButtonClick

Triggered when the user clicks on the object with the right mouse button. The element under the mouse cursor when it is clicked is given by the ACTION_ELEMENT property (which may be set to _TRV_NONE).


RightButtonDownClick

Triggered when the user right-clicks on the object, with the button in the depressed position. The element under the mouse pointer when it is clicked is given by the ACTION_ELEMENT property (which may be set to _TRV_NONE).


Note: This event is not available in Mobile generation for Pocket PC and Smartphone platforms.


Selection

Triggered when the user selects an element.


SetFocus

Triggered when the object is placed in focus.




↑ Top of page