ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Window functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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.
WINDEVJava In the Windows operating system: The border and title bar are ignored.
AndroidiPhone/iPad There are two cases to consider:
  • Maximized mobile windows: This position is always 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 SaaS
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 top left corner of the internal area of the window in relation to the top 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 if it corresponds to 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: 06/26/2024

Send a report | Local help