Products Downloads


French version


 

 

 

DD_BeginDrag

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. The ACTION_LINE_NUMBER and ACTION_COLUMN_NUMBER properties have the line and column numbers of the clicked element.

If the TREE COLUMN object related to the clicked element manages the LeftButtonDownClick or the RightButtonDownClick events, their Adelia code is run before DD_BeginDrag's code.

 

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_LINE_NUMBER and ACTION_COLUMN_NUMBER properties contain the line and column numbers of 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.

 

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_LINE_NUMBER and ACTION_COLUMN_NUMBER properties contain the line and column numbers of 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_LINE_NUMBER and ACTION_COLUMN_NUMBER properties contain the line and column numbers of 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.

 

KillFocus

Triggered when the object loses the focus.

 

MouseMove

Triggered when the mouse pointer is moved within the area covered by the object. The ACTION_LINE_NUMBER and ACTION_COLUMN_NUMBER properties contain the line and column numbers of the element (if it exists) under the mouse pointer.

 

Rolldown

Triggered if the ROLLDOWN_DYN_PAGIN property is set to *TRUE and the object has received a rolldown request while its first element is displayed.

 

Rollup

Triggered if the ROLLUP_DYN_PAGIN property is set to *TRUE and the object has received a rollup request while its last element is displayed.

 

Selection

Triggered when the user selects a line.

 

SetFocus

Triggered when the object is placed in focus.

 

 

 

↑ Top of page