PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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
Screen,Coordinate (External language)
In French: Ecran,Coordonnée
Retrieves the coordinates of the control in relation to the top left border of the window as well as the physical size of a control.
Example
// In C
// Retrieves the position and size of the image
CALLWD("Screen,Coordinate,IMAGE");
strcpy(Coord,WDString);
// In Pascal
// Retrieves the position and size of the image
CALLWD('Screen,Coordinate,IMAGE');
Coord:=WdString;
// In VB
// Retrieves the position and size of the image
call CALLWD("Screen,Coordinate,IMAGE")
Coord=WdString
Syntax
Screen,Coordinate(<Control Name> [, <Subscript>])
<Control Name>: Character string
Name of the control whose coordinates must be retrieved.
<Subscript>: Character string (optional)
Subscript of the control.
Remarks
The coordinates are returned in WdString in the following format: "<row>,<column>:<height>,<width>"
The parameters (<row>,<column>:<height> and <width>) are expressed in pixels. The size of the control takes the external border of the control into account.
Minimum required version
  • Version 14
Comments
Click [Add] to post a comment