|
|
|
|
|
<Tab>.SaveConfiguration (Function) In french: <Onglet>.SauveConfiguration Saves the configuration of the dynamic tabs found in a Tab control in character string format. This configuration can be restored by <Tab>.LoadConfiguration.
sFile is string
sFile = fSelect("", "", ...
"Select a configuration file...", ...
"Dashboard configuration" + TAB + "*.conf", "*.conf", ...
fselCreate + fselExist)
IF sFile <> "" THEN
sConfiguration is string = TAB_Dashboard.SaveConfiguration()
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> = <Tab control>.SaveConfiguration()
<Result>: Character string Configuration saved in the format of a character string. <Tab control>: Control name Name of the Tab control to be used. Remarks - The configuration of the dynamic tabs found in a Tab control includes the following elements:
- the existing dynamic tabs 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 "Remember configuration of tabs" in the "Details" tab of the control description window.
- in the code, use the StoreTheConfiguration property.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|