|
|
|
|
|
StoreTheConfiguration (Property) In french: MémoriserLaConfiguration
The property MemorizeConfiguration property property allows you to: - Determine whether the configuration of the panes in a Dynamic Tab control or Ribbon control is automatically saved and restored.
- Modify the configuration of the panes in a Dynamic Tab control or Ribbon control so that it is automatically saved and restored (or not)
Note: This property corresponds to the "Remember configuration of tabs" option available in the "Detail" tab of the control description window..
ONG_Dynamique.MémoriserLaConfiguration = True
Syntax
Finding out whether the configuration of the panes is automatically stored and restored Hide the details
<Result> = <Control used>.StoreTheConfiguration
<Result>: Boolean - True if the configuration of the control panes is automatically saved and restored,
- False if the configuration of the control panes is not automatically saved and restored.
<Control used>: Control name Name of the field to be manipulated: - Dynamic Tab control.
- Ribbon control.
Configuring the saving of the panes Hide the details
<Control used>.StoreTheConfiguration = <New configuration>
<Control used>: Control name Name of the field to be manipulated: - Dynamic tab control.
- Ribbon control.
<New configuration>: Boolean - True if the configuration of the control panes is automatically saved and restored,
- False if the configuration of the control panes is not automatically saved and restored.
Remarks - If this property is set to True after the initialization phase, the field will not revert to the previous configuration.
- This property is useful to configure the controls created by ControlCreate and ControlClone.
- For a Dynamic Tab control, the configuration includes the dynamic tabs and their position (i.e. their order).
- "Undocked" dynamic tabs will still be undocked when restored, with the same size and position.
- If the internal window accepts simple parameters (strings, integer, boolean), they are stored.
- If the internal window accepts complex parameters (objects, HFSQL connections, ...), the backup is not performed.
- If the internal window is using global variables (the position of a record for example), the restore operation will not give the same result as the backup.
- For a Ribbon control, the configuration includes the panes and their position (i.e. their order). "Undocked" panes will still be undocked when restored, with the same size and position.
- Dynamic Tab Control: You can manually save or restore the configuration of dynamic tabs using the TabSaveConfiguration/TabLoadConfiguration functions.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|