ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Managing external languages / Object functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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
// En C
// Récupère la position et la taille de l'image
APPELWD("Ecran,Coordonnee,IMAGE");
strcpy(Coord,WDChaine);
// En Pascal
// Récupère la position et la taille de l'image
APPELWD('Ecran,Coordonnee,IMAGE');
Coord:=WdChaine;
// En VB
// Récupère la position et la taille de l'image
call APPELWD("Ecran,Coordonnee,IMAGE")
Coord=WdChaine
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 WdChaine as "<ligne>,<colonne>:<hauteur>,<largeur>".
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: 09/21/2024

Send a report | Local help