PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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
Saves the configuration of a Dashboard control in string format. This configuration includes the following elements:
  • position of internal windows/pages in the Dashboard control.
  • size of internal windows/pages in the Dashboard control.
  • visibility of internal windows/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
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 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 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 WEBDEV sites in Linux.
Versions 22 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
New in version 22
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
Example
WINDEV
// Demande à l'utilisateur le fichier de sauvegarde
sFichier is string
 
// Ouvre le sélecteur de fichiers
sFichier = fSelect("", "", "Sélectionnez un fichier de configuration...", ...
"Configuration du tableau de bord" + TAB + "*.tdbconf", "*.tdbconf", ...
fselCreate + fselExist)
// Si un fichier est sélectionné
IF sFichier <> "" THEN
// Récupère la configuration courante dans une chaîne
sConfiguration is string = DashSaveConfiguration(TDB_TableauDeBord)
// Sauve la configuration
IF fSaveText(sFichier, sConfiguration) THEN
ToastDisplay("La configuration a été sauvée", toastShort, vaMiddle, haCenter)
ELSE
Error("Erreur en sauvegarde du fichier de configuration", ErrorInfo())
END
END
WEBDEV - Server code
// Sauvegarde d'une configuration
sMaConfig is string
sMaConfig = DashSaveConfiguration(TDB_FuseauxHoraires)
fSaveText(fWebDir() + ["\"] + "ConfigTDB.tdb", sMaConfig)
Syntax
<Result> = DashSaveConfiguration(<Dashboard control>)
<Result>: Character string
Configuration of Dashboard control.
This configuration can be saved by fSaveText or SaveParameter.
This configuration can be restored by DashLoadConfiguration.
<Dashboard control>: Control name
Name of Dashboard control to use.
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: wd270obj.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment