AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Organigrama
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
Versión mínima requerida
  • Versión 17
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 08/06/2022

Señalar un error o enviar una sugerencia | Ayuda local