PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Refreshes the display of elements in a Dashboard control.
Versions 20 and later
WEBDEV - Server codeWindows This function is now available in WEBDEV Server.
WEBDEV - Browser code This function is now available in Browser code.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
New in version 20
WEBDEV - Server codeWindows This function is now available in WEBDEV Server.
WEBDEV - Browser code This function is now available in Browser code.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available in WEBDEV Server.
WEBDEV - Browser code This function is now available in Browser code.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
Versions 22 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
New in version 22
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
Example
// Add an order and refresh the Dashboard control.
HAdd(Orders)
DashDisplay(DASH_Main)
WINDEVAndroidiPhone/iPad
// 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 Dashboard control to use.
<Widget>: Optional character string (with or without quotes)
  • WINDEVAndroidiPhone/iPad Name of internal window to update.
  • Versions 20 and later
    WEBDEV - Server codeWEBDEV - Browser code Name of internal page to update.
    New in version 20
    WEBDEV - Server codeWEBDEV - Browser code Name of internal page 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 subscript Hide the details

DashDisplay(<Dashboard Control> [, <Subscript>])
<Dashboard Control>: Control name
Name of Dashboard control to use.
<Subscript>: Optional integer
Subscript 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 "Refreshing the widget" process for the specified widget or for all widgets displayed in the Dashboard control.
    WINDEVAndroidiPhone/iPad The "Refreshing the widget" process is an optional process of the internal windows used as widget in a Dashboard control.
  • The "Refreshing the widget" process 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 processes 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.
Components
WINDEVReports and Queries wd230obj.dll
WEBDEV - Server code wd230page.dll
WEBDEV - Browser code WDJS.DLL
Linux wd230obj.so
Android wd230android.jar
Minimum required version
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment