ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Organization Chart 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
Returns the index of the element found at a given position in an Organization Chart control.
Example
// Gets the index 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
  • Index of the 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 be analyzed.
<Y>: Integer
Y coordinate (in pixels) to study.
Component: wd290obj.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/08/2022

Send a report | Local help