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
<Dashboard>.Display (Function)
In french: <Tableau de bord>.Affiche
AjaxNot available
Refreshes elements in a Dashboard control.
Example
// Add an order and refresh the Dashboard control.
HAdd(Orders)
DASH_Main.Display()
AndroidiPhone/iPadMac Catalyst
// Refreshes the widget of recalls
DASH_Dashboard.Display(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

<Dashboard control>.Display([<Widget>])
<Dashboard control>: Control name
Name of the Dashboard control to be used.
<Widget>: Optional name of internal window or internal page
  • AndroidiPhone/iPadMac Catalyst 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

<Dashboard control>.Display([<Subscript>])
<Dashboard control>: Control name
Name of the Dashboard control to be used.
<Subscript>: 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
  • <Dashboard>.Display runs the "Refresh widget" event for the specified widget or for all widgets displayed in the Dashboard control.
    AndroidiPhone/iPadMac Catalyst "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 <Dashboard>.Display 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 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help