ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Dashboard 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
DashDisplay (Function)
In french: TDBAffiche
AjaxNot available
Refreshes elements in a Dashboard control.
Example
// Add an order and refresh the Dashboard control.
HAdd(Orders)
DashDisplay(DASH_Main)
Syntax

Refreshing the display of a wigdet identified by its name Hide the details

DashDisplay(<Dashboard control> [, <Widget>])
<Dashboard control>: Control name
Name of the Dashboard control to be used.
<Widget>: Optional name of internal window or internal page
  • WEBDEV - Server codeWEBDEV - Browser code Name of internal page to update.
If this parameter is not specified, all internal windows/pages handled by the Dashboard control are updated.

Refreshing the display of a wigdet identified by its index Hide the details

DashDisplay(<Dashboard control> [, <Index>])
<Dashboard control>: Control name
Name of the Dashboard control to be used.
<Index>: Optional integer
Index of the widget to update.
If this parameter is not specified, all internal windows/pages handled by the Dashboard control are updated.
Remarks
  • DashDisplay runs the "Refresh widget" event for the specified widget or for all widgets displayed in the Dashboard control.
  • The event "Refresh widget" may not be run immediately: it is run when the user takes control back (end of code currently run or call to Multitask for example).
  • If several calls to DashDisplay are performed before giving control back, the refresh events will be run once only.
Related Examples:
WD Dashboard 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.
WW_Dashboard 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.
Component: wd300obj.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help