AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Cuadro de mando
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()
WINDEVAndroidiPhone/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
  • WINDEVAndroidiPhone/iPadMac Catalyst Name of internal window to update.
  • 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

<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.
    WINDEVAndroidiPhone/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
Versión mínima requerida
  • Versión 23
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/06/2023

Señalar un error o enviar una sugerencia | Ayuda local