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
Returns the name of the control located at a given position.
Example
// -- Click on [HOME]

// Find the control in the top left corner of the window
sControl is string
sControl = ControlInfoXY(10, 10, WIN_Management)
IF sControl <> "" THEN
SetFocus(sControl)
END
Syntax
<Result> = ControlInfoXY(<X> , <Y> [, <Parent>])
<Result>: Character string
Name of the control to find.
<X>: Integer
X coordinate (in pixels) to study.
<Y>: Integer
Y coordinate (in pixels) to study.
<Parent>: Optional character string (with or without quotes)
Name of the parent of the element sought. This parameter can correspond to the name of a control or window.
  • If this parameter is not specified, the X and Y coordinates are relative to the screen.
  • If this parameter corresponds to the name of a window, the X and Y coordinates are relative to the client area of the window.
  • If this parameter corresponds to the name of a control, the X and Y coordinates are relative to the client area of the control.
Remarks
  • The invisible controls are not returned.
  • If <Parent> is specified, the controls found at locations outside the client area are not returned.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment