ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Organization Chart functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Selects an element in an Organization Chart control. If the element to select is not found in the visible area of the Organization Chart control, a scroll is automatically performed.
Example
// Retrieves the subscript of the element selected in an Organization Chart control
ElementNum is int 
ElementNum = OrgInfoXY(ORG_MyOrganizationChart, MouseXPos(), MouseYPos())
IF ElementNum <> -1 THEN
	OrgSelectPlus(ORG_MyOrganizationChart, ElementNum)
END
Syntax
OrgSelectPlus(<Organization Chart control> , <Subscript>)
<Organization Chart control>: Control name
Name of Organization Chart control to use.
<Subscript>: Integer
Index of the element to select. This index is returned by OrgInfoXY for example.
Component: wd300obj.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/25/2024

Send a report | Local help