|
|
|
|
OrgInfoXY (Function) In french: OrgaInfoXY Returns the index of the element found at a given position in an Organization Chart control.
// 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|