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)
WINDEV
// Refreshes the widget of recalls
DashDisplay(DASH_Dashboard, IW_Widget_Recalls)
ToastDisplay("The IW_Widget_Recalls widget was refreshed", toastShort, vaMiddle, haCenter)
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
  • WINDEV Name of internal window 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.
    WINDEV "Refresh widget" is an optional event of the internal windows used as widgets in a 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: wd290obj.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