|
|
|
|
DashCount (Function) In french: TDBOccurrence
Not available
Returns the number of widgets found in a Dashboard control. The following widgets are taken into account: - the widgets declared in the window editor or in the page editor,
- the widgets added by DashAddWidget.
// Displays the number of displayed widgets and the total number of widgets InfoBuild("The dashboard contains %1 widgets among which %2 are displayed", ... DashCount(DASH_Dashboard, toTotal), DashCount(DASH_Dashboard, toShown))
Syntax
<Result> = DashCount(<Dashboard control> , <Type of widget>)
<Result>: Integer Number of widgets found in the Dashboard control. <Dashboard control>: Control name Name of the Dashboard control to be used. <Type of widget>: Integer constant Type of widget to take into account: | | toShown | Only the Widgets displayed are taken into account. | toTotal | All Widgets are taken into account (no matter whether they are displayed or not). |
Related Examples:
|
Training (WINDEV): WD Dashboard
[ + ] The "WD Dashboard" example is an educational example for using the Dashboard control. This example explains how to: - handle the control in "edit" mode, - save/load a configuration, - configure the control (initial configuration, addition/deletion of widgets, ...), - refresh a widget, - etc.
|
|
Training (WEBDEV): WW_Dashboard
[ + ] The "WD Dashboard" example is an educational example for using the Dashboard control. This example explains how to: - handle the control in "edit" mode, - save/load a configuration, - configure the control (initial configuration, addition/deletion of widgets, ...), - refresh a widget.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|