PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
Y

X
Y
  • Limits for the report controls
  • Limits in the pages
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..Y is used to:
  • Find out the Y coordinate of a control or window (position on Y axis).
    WEBDEV - Server codeWEBDEV - Browser codePHP This property is used to find out the Y coordinate of a control in a page.
  • Modify the Y coordinate of a control or window (position on Y axis).
    WEBDEV - Server codeWEBDEV - Browser codePHP This property is used to modify the Y coordinate of a stackable 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.
Versions 16 and later
PHP This property is now available for the PHP sites.
New in version 16
PHP This property is now available for the PHP sites.
PHP This property is now available for the PHP sites.
Example
// 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 name>..Y
<Result>: Integer
  • Y coordinate of specified control:
    • in a window, this Y coordinate is expressed in pixels. This Y coordinate corresponds to the vertical position of top left corner of control in relation to the top left corner of client area of window (which means the window without title bar, menu bar and border).
    • 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.
      • WEBDEV - Server code 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.
      • WEBDEV - Browser codePHP 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.
    Linux The Y coordinate of window is not available.
<Element name>: Character string (with or without quotes)
Name of element (control, page 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 name>..Y = <New Y coordinate>
<Element name>: Character string (with or without quotes)
Name of element whose Y coordinate will be modified.
For a control associated with a tab, use the following notation:
<Tab name>.<Control name>
WEBDEV - Server codeWEBDEV - Browser code To modify the Y coordinate of a page control, this control must be a stackable control.
<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 to the vertical position of top left corner of control in relation to the top left corner of client area of window (which means the window without title bar, menu bar and border).
    • 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.
      • WEBDEV - Server code 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.
      • WEBDEV - Browser codePHP It corresponds to the vertical position of top left corner of control in relation to the top left corner of the page.
      Note: 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.
    Linux The Y coordinate of window cannot be modified.
Remarks
WEBDEV - Server code

Limits for the report controls

..Y cannot be used on:
  • a report,
  • a report block.
Notes
  • A control cannot be displayed outside the block to which it belongs.
  • ..Height and ..Width are used to find out the height and width of a report control or report block.
WEBDEV - Server codeWEBDEV - Browser codePHP

Limits in the pages

..Y cannot be used on:
  • an HTML table,
  • an option in a check box or radio button,
  • a row in a list box, in a combo box or in a table,
  • a table cell,
  • a group of controls.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment