ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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 the client area of a window in relation to the upper-left corner of the screen.
AndroidiPhone/iPad 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 horizontal position of the upper-left corner of the client area.
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
// Horizontal position of the internal area of the window named "WIN_EditCustomer" 
ResHPos = WinInXPos(WIN_EditCustomer)
Syntax
<Result> = WinInXPos([<Window>])
<Result>: Integer
Horizontal position or X-coordinate (in pixels) of the upper-left corner of the client area of the window in relation to the upper-left corner of the screen.
<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 internal area 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: 11/14/2024

Send a report | Local help