SaveLayoutToRegistry - cCJCommandBarSystem
Save a commandbar system's layout to the registry
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| eLayout | Integer | Determines what is saved. Possible values are:ConstantMeaning |
| sKey | String | Name of the registry sub key |
Syntax
Procedure SaveLayoutToRegistry Integer eLayout String sKey
Call Example
Send SaveLayoutToRegistry eLayout sKey
Description
SaveLayoutToRegistry saves a commandbar system's layout to the registry. This message is sent by SaveEnvironment, which is automatically sent whenever a commandbar system is deactivated.
The eLayout parameter determines what information is used to save the layout.
The sKey parameter determines the registry location under HKEY_CURRENT_USER. The data is actually saved to a sub-key which is determined by the psLayoutSection property.
For example: if
sKey = "SOFTWARE\Data Access Worldwide\DataFlex Applications\1\test", and
psLaySection = "CommandBars"
the registry location will be:
"HKEY_CURRENT_USER\SOFTWARE\Data Access Worldwide\DataFlex Applications\1\test\CommandBars"
You will typically not augment this method. If you send this method you will mostly likely do so within an augmentation of SaveEnvironment.
See Also
LoadLayoutFromRegistry | LoadLayoutFromXML | SaveLayouttoXML | peRestoreLayout | LoadEnvironment | SaveEnvironment