|
|
|
|
|
- Initial position (control and window)
- Position of a Tab control
- Position of a control in a Tab control
- Hidden button
- Position of an 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
The Y property is used to: - Find out the Y-coordinate of a control or window (position on Y-axis).
This property is used to get the Y-coordinate of a control in a page. - Modify the Y-coordinate of a control or window (position on Y-axis).
This property is used to modify the Y-coordinate of an overlayable control in a page.
This property can be used on the controls found in a window, in a page or in a report, and on the windows.
ResOrdonnée = 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 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 the upper-left corner of the control in relation to the upper-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 the upper-left corner of the control, relative to the upper-left corner of the page. If the control belongs to a container control (HTML cell, Looper, etc.), the-Y-coordinate is relative to the latter.
- It corresponds to the vertical position of the upper-left corner of the control, relative to the upper-left corner of the page.
- Y-coordinate of the specified window (in pixels). Vertical position of the upper-left corner of the window, relative to the upper-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 control, use the following notation: <Nom de l'onglet>.<Nom du champ>
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 control, use the following notation: <Nom de l'onglet>.<Nom du champ> <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 the upper-left corner of the control in relation to the upper-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 the upper-left corner of the control, relative to the upper-left corner of the page. If the control belongs to a container control (HTML cell, Looper, etc.), the-Y-coordinate is relative to the latter.
- It corresponds to the vertical position of the upper-left corner of the control, relative to the upper-left corner of the page.
Note: The field must be superimposable for the change in its ordinate to take effect.
- New Y-coordinate for the specified window (in pixels). Vertical position of the upper-left corner of the window, relative to the upper-left corner of the screen.
The Y-coordinate of window cannot be modified.
Remarks Limits for the report controls The Y property cannot be used on: Remarks - A control cannot be displayed outside the block to which it belongs.
- The Height and Width properties are used to get the height and width of a report control or report block.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|