|
|
|
|
<Dashboard>.GetWidgetPosition (Function) In french: <Tableau de bord>.RécupèreWidgetPosition
Not available
Returns the position of a widget found in a Dashboard control. // Gets the position of widget 2 in number of cells (x,y) = DASH_MyDashboard.GetWidgetPosition(2)
Syntax
Retrieving the position of a widget in a Dashboard control Hide the details
(<X>, <Y>) = <Dashboard control>.GetWidgetPosition(<Widget index> [, <Options>])
<X>: Integer Horizontal position of widget in number of cells or in pixels. <Y>: Integer Vertical position of widget in number of cells or in pixels. <Dashboard control>: Control name Name of the Dashboard control to be used. <Widget index>: Integer Index of the widget to use. This index corresponds to:- the addition number of the widget defined in the window editor or in the page editor.
- the addition number of widget returned by <Dashboard>.AddWidget.
<Options>: Optional Integer constant Unit used: | | dashUnitCell (Default value) | The unit used for the widget position is a number of cells. The first cell is cell [1, 1]. | dashUnitPixel | The unit used for the widget position is the pixel. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|