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
Saves the configuration of the dynamic panes found in a Tab control in character string format. This configuration can be restored by TabLoadConfiguration.
Example
// Asks the user for the backup file
sFile is string

// Opens the file picker
sFile = fSelect("", "", ...
"Select a configuration file...", ...
"Dashboard configuration" + TAB + "*.conf", "*.conf", ...
fselCreate + fselExist)
// If a file is selected
IF sFile <> "" THEN
// Gets the current configuration in a string
sConfiguration is string = TabSaveConfiguration(TAB_Dashboard)
// Saves the configuration
IF fSaveText(sFile, sConfiguration) THEN
ToastDisplay("The configuration was saved", toastShort, vaMiddle, haCenter)
ELSE
Error("Error while saving the configuration file", ErrorInfo())
END
END
Syntax
<Result> = TabSaveConfiguration(<Tab Control>)
<Result>: Character string
Configuration saved in the format of a character string.
<Tab Control>: Control name
Name of Tab control to use.
Remarks
  • The configuration of the dynamic panes found in a Tab control includes the following elements:
    • the existing dynamic panes as well as their rank.
    • the internal window associated with each dynamic pane.
  • To automatically save or restore the user configuration, you can:
    • in the editor, check "Store the configuration of panes" in the "Details" tab of the description window of the control.
    • by programming, use ..StoreTheConfiguration.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment