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
Returns the position of a widget found in a Dashboard control.
Example
// Récupère la position du Widget 2 en nombre de cases
(x,y) = TDB_MonTableauDeBord.RécupèreWidgetPosition(2)
Syntax

Retrieving the position of a widget in a Dashboard control Hide the details

(<X>, <Y>) = <Dashboard control>.GetWidgetPosition(<Widget subscript> [, <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 Dashboard control to use.
<Widget subscript>: Integer
Subscript of widget to use. This subscript 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].
dashUnitPixelThe unit used for the widget position is the pixel.
Component: wd270obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment