ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Diagram editor 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
<Diagram editor>.DiagramInfoXY (Function)
In french: <Éditeur de diagrammes>.InfoXY
Indicates the presence of a shape at a given position in the Diagram Editor control.
Example
let nShapeIndex = DIAGEDT_Diagram.InfoXY(MouseXPos, MouseYPos)
gDiag is Diagram <- DIAGEDT_Diagram.Value
FOR i = 1 _TO_ gDiag.Shape.Count
// Change the opacity of the hovered shape
IF nShapeIndex = i THEN
gDiag.Shape[nShapeIndex].Opacity = 50
ELSE
gDiag.Shape[nShapeIndex].Opacity = 100
END
END
Syntax
<Result> = <Diagram Editor>.InfoXY(<X> , <Y>)
<Result>: Integer
  • Index of the shape if there is a shape at the specified position,
  • 0 otherwise.
<Diagram Editor>: Control name
Name of the Diagram Editor control to use.
<X>: Integer
X-coordinate of the specified position.
<Y>: Integer
Y-coordinate of the specified position.
Business / UI classification: UI Code
Component: wd290mdl.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/19/2023

Send a report | Local help