PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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 a window in relation to the upper-left corner of the screen.
Remark: The WinOutXPos function is equivalent to the X property.
Example
//Horizontal position of the "WIN_EditCustomer" window in relation to the screen
ResHPos = WinOutXPos(WIN_EditCustomer)
Syntax
<Result> = WinOutXPos([<Window>])
<Result>: Integer
Returns the horizontal position or x-coordinate (in pixels) of the top left corner of a 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 current window is returned.
Component: wd270obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment