- Initial position (control and window)
- Position of Tab control
- Position of control in a Tab control
- Hidden button
- Position of anchored control
- Toolbar
- Elements of a Looper control
- Limits for a window and for its controls
- Limits for the report controls
- Limits in the pages
Y (Property) In french: Y
// Find out the Y coordinate of "IMG_Image" ResYCoordinate = IMG_Image.Y
Syntax
Finding out the Y coordinate of a control or window Hide the details
<Result> = <Element used>.Y
<Result>: Integer - Y coordinate of specified control:
- in a window, this Y coordinate is expressed in pixels. This Y-coordinate corresponds the vertical position of the upper-left corner of the control, relative to the upper-left corner of the window's client area (i.e. the window without title bar, menu bar or borders).
- in a report, this Y coordinate is expressed in millimeters. This Y coordinate corresponds to the vertical position of top left corner of control in relation to the top left corner of the block to which the control belongs.
- in a page, this Y coordinate is expressed in pixels.
It corresponds to the vertical position of top left corner of control in relation to the top left corner of the page. If the control belongs to a container control (HTML cell, looper, ...), the Y coordinate is given in relation to this container control.  It corresponds to the vertical position of top left corner of control in relation to the top left corner of the page.
- Y-coordinate of the specified window (in pixels). Vertical position of top left corner of window in relation to the top left corner of the screen.
The Y coordinate of window is not available.
<Element used>: Control name or window name Name of element (control or window) to use. For a control associated with a tab, use the following notation:
<Tab name>.<Control name>
Modifying the Y coordinate of a control or window Hide the details
<Element used>.Y = <New Y coordinate>
<Element used>: Control name or window name Name of element whose Y coordinate will be modified. For a control associated with a tab, use the following notation:
<Tab name>.<Control name>
<New Y coordinate>: Integer - New Y coordinate for the specified control:
- in a window, this Y coordinate is expressed in pixels. This Y-coordinate corresponds the vertical position of the upper-left corner of the control, relative to the upper-left corner of the window's client area (i.e. the window without title bar, menu bar or borders).
- in a report, this Y coordinate is expressed in millimeters. This Y coordinate corresponds to the vertical position of top left corner of control in relation to the top left corner of the block to which the control belongs.
- in a page, this Y coordinate is expressed in pixels.
It corresponds to the vertical position of top left corner of control in relation to the top left corner of the page. If the control belongs to a container control (HTML cell, looper, ...), the Y coordinate is given in relation to this container control.  It corresponds to the vertical position of top left corner of control in relation to the top left corner of the page. Remark: The control must be a stackable control otherwise the modification of the Y coordinate will be ignored.
- New Y coordinate for the specified window (in pixels). Vertical position of top left corner of window in relation to the top left corner of the screen.
The Y coordinate of window cannot be modified.
Remarks Versions 22 and later New in version 22
This page is also available for…
|
|
|