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 subscript of the element found at a given position in an Organization Chart control.
Example
// Retrieves the subscript of the element found at cursor position in the Organization Chart control
ElementNum is int = OrgInfoXY(ORG_MyOrganizationChart, MouseXPos(), MouseYPos())
IF ElementNum <> -1 THEN
MyWindow..Title = ORG_MyOrganizationChart[ElementNum]..Title
END
Syntax
<Result> = OrgInfoXY(<Organization Chart Control> , <X> , <Y>)
<Result>: Integer
  • Subscript of element found.
  • -1 if no element exists at the specified coordinates.
<Organization Chart Control>: Control name
Name of Organization Chart control to use.
<X>: Integer
X coordinate (in pixels) to study.
<Y>: Integer
Y coordinate (in pixels) to study.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment