ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Window functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the horizontal position of the upper-left corner of a window in relation to the upper-left corner of the screen.
WINDEVJava Windows:
Note: The WinOutXPos function is equivalent to the X property.
AndroidiPhone/iPad Movable windows There are two cases to consider:
  • Maximized mobile windows: This position is always set to 0.
  • Non-maximized mobile windows and popup windows: This position corresponds to the X property.
New in version 2025
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Example
// Position horizontale de la fenêtre "FEN_SaisieClient" par rapport à l'écran
ResPosH = WinOutXPos(FEN_SaisieClient)
Syntax
<Result> = WinOutXPos([<Window>])
<Result>: Integer
Returns the horizontal position or X-coordinate (in pixels) of the upper-left corner of a window in relation to the upper-left corner of the screen.
AndroidiPhone/iPad If you are manipulating a maximized mobile window, this position is set to 0.
<Window>: Optional window name
Name or alias of the window to be used. If this parameter is not specified or is an empty string (""), the horizontal position of the current window is returned.
Component: wd300obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/14/2025

Send a report | Local help