PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
<Dashboard>.LoadConfiguration (Function)
In french: <Tableau de bord>.ChargeConfiguration
AjaxNot available
Restores the configuration of a Dashboard control. This configuration includes the following elements:
  • position of internal windows or pages in the Dashboard control.
  • size of internal windows or pages in the Dashboard control.
  • visibility of internal windows or pages in the Dashboard control.
Remark: To automatically save or restore the user configuration, check "Remember configuration of Widgets" in the "Details" tab of the control description window.
Versions 20 and later
Windows This function is now available in WEBDEV Server.
New in version 20
Windows This function is now available in WEBDEV Server.
Windows This function is now available in WEBDEV Server.
Example
Syntax
<Result> = <Dashboard control>.LoadConfiguration(<Configuration>)
<Result>: Boolean
  • True if the configuration was loaded.
  • False otherwise. To know the error details, use ErrorInfo.
<Dashboard control>: Control name
Name of Dashboard control to use.
<Configuration>: Character string (with quotes)
Configuration to restore. This configuration is the result of <Dashboard>.SaveConfiguration.
Caution: If the format of this parameter is invalid or if it cannot be applied to the Dashboard control (because the internal windows/pages or the number of columns do not correspond for example), <Result> is set to False.
Remarks
The widgets declared visible since the last backup must be visible when loading the configuration.
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 : wd250obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment