ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Managing external languages / Object 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
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)
Control index.
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 version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 04/06/2023

Send a report | Local help