|
|
|
|
|
- Position of a Tab control
- Position of a control in a Tab control
- Limits
YInitial (Property) In french: YInitial
The YInitial property is used to: - Find out the Y-coordinate:
- of a control (position on Y-axis) when opening the window or the page.
- of a window (position on Y-axis) when opening the window.
- Modify the Y-coordinate of a control anchored "to the bottom" (position on the vertical axis) when opening the window.
- Find out the Y-coordinate of a control in relation to its block (position in millimeters on the vertical axis) when opening the report.
Remark: The origin of a control or window corresponds to the Y-coordinate specified in the "UI" tab, in their description window. This Y-coordinate defines the control or window position when opening the window, page or report.
// Moves the control 10 millimeters to bottom STC_Caption_Title.Y = STC_Caption_Title.Y + 10 // Restores the initial position STC_Caption_Title.Y = STC_Caption_Title.YInitial
Syntax
Finding out the Y-coordinate of a control or window Hide the details
<Result> = <Element used>.YInitial
<Result>: Integer - Y-coordinate of specified control
- in a window, this Y-coordinate is expressed in pixels. When the window is opened, this coordinate corresponds to 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, when opening the report, 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, when opening the page, to:
- the vertical position of the upper-left corner of the control in relation 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.
- the vertical position of the upper-left corner of the control in relation to the upper-left corner of the page.
- Y-coordinate of specified window (in pixels) when it is opened. Vertical position of top left corner of window in relation to the top left corner of the screen.
<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>
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|