Products Downloads


French version


 

Defines how the graphical control is adjusted when the window is resized horizontally.

Adelia type

NUM_BIN_2.

Accessibility

 

Layout design mode

Read/Write.

Execution mode

Read/Write.

Associated constants

 

 _IMG_ADJUST_EXPAND_WIDTH

The control is expanded width-wise.

 _IMG_ADJUST_ALIGNED_LEFT

The control keeps its left side alignment.

 _IMG_ADJUST_ALIGNED_RIGHT

The control keeps its right side alignment.

 _IMG_ADJUST_ALIGNED_CENTER

The control keeps its center alignment.

 _IMG_ADJUST_NONE

No horizontal adjustment is applied to the control.

Conditions of use

This property applies when the window's ADJUSTMENT property is other than _WIN_ADJUST_NONE.

When executed, its value is taken into account at the start of the window's first resizing and when the window's ADJUSTMENT property is modified.

Here, the window's VISIBILITY property must be True. Otherwise, the control will not be adjusted.

The modification is only taken into account if the window's ADJUSTMENT property is _WIN_ADJUST_NONE. Otherwise it is ignored.

Default value

_IMG_ADJUST_ALIGNED_LEFT

 

 

Defines how the graphical control is adjusted when the window is resized vertically.

 

Adelia type

NUM_BIN_2.

Accessibility

 

Layout design mode

Read/Write.

Execution mode

Read/Write.

Associated constants

 

 _IMG_ADJUST_EXPAND_HEIGHT

The control is extended height-wise.

 _IMG_ADJUST_ALIGNED_TOP

The control keeps its top side alignment.

 _IMG_ADJUST_ALIGNED_BOTTOM

The control keeps its bottom side alignment.

 _IMG_ADJUST_ALIGNED_CENTER

The control keeps its center alignment.

 _IMG_ADJUST_NONE

No vertical adjustment is applied to the control.

Conditions of use

This property applies when the window's ADJUSTMENT property is other than _WIN_ADJUST_NONE.
When executed, its value is taken into account at the start of the window's first resizing and when the window's ADJUSTMENT property is modified.Here, the window's VISIBILITY property must be True. Otherwise, the control will not be adjusted.
The modification is only taken into account if the window's ADJUSTMENT property is _WIN_ADJUST_NONE. Otherwise it is ignored.

Default value

_IMG_ADJUST_ALIGNED_TOP
 

 

 

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.

 

Note: This property is not implemented in Mobile generation.

 

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.

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.

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.

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.

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.

Associated constants

 None.



 

↑ Top of page

  • Aucune étiquette