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
Restores the configuration of dynamic panes in a Tab control. This configuration was saved in string format by TabSaveConfiguration.
Example
// Asks the user for the configuration that will be loaded
sFile is string

// Opens the file picker
sFile = fSelect("", "", "Select a configuration file...", ...
"Dashboard configuration" + TAB + "*.conf", "*.conf")
// If a file is selected
IF sFile <> "" THEN
// Retrieves the configuration found in the file
sConfiguration is string = fLoadText(sFile)
// Loads the configuration
IF TabLoadConfiguration(TAB_DynTab, sConfiguration) THEN
ToastDisplay("The configuration was loaded", toastShort, vaMiddle, haCenter)
ELSE
Error("Error while loading the configuration", ErrorInfo())
END
END
Syntax
<Result> = TabLoadConfiguration(<Tab Control> , <Configuration>)
<Result>: Boolean
  • True if the configuration was loaded,
  • False if an error occurred. The ErrorOccurred variable is set to True if an error occurred. To find out the error details, use ErrorInfo associated with the errMessage constant.
<Tab Control>: Control name
Name of Tab control to use.
<Configuration>: Character string (with quotes)
Configuration of the dynamic panes saved by TabSaveConfiguration.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment