PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
DiagramInfoXY (Function)
In french: DiagrammeInfoXY
Indicates the presence of a shape at a given position in the Diagram Editor control.
Example
let nShapeIndex = DiagramInfoXY(DIAGEDT_Diagram, 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> = DiagramInfoXY(<Diagram Editor> , <X> , <Y>)
<Result>: Integer
  • Index of the shape if there is a shape at the specified position,
  • 0 otherwise.
is int
<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: wd280mdl.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment