TdxCustomGanttControl.RestoreFromRegistry(string,Boolean,Boolean,string) Method
Loads the control‘s layout from the registry.
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
AStorage |
string | The name of the registry entry that stores settings. The procedure forms a registry path for the View information and adds the AStorage |
AChildren |
Boolean | Set this parameter to False to avoid creation of the control’s elements that are absent in the control, but information about their settings is stored in the registry. |
AChildren |
Boolean | Set this parameter to False to avoid deletion of existing elements whose information is absent in the registry. |
ARestore |
string | The control’s name in the registry. The procedure uses the control’s name if you pass an empty string as the parameter value. You can omit AStorage |
#Remarks
Call this procedure to apply appearance and behavior settings stored in the registry to the control.
You can restore the following settings for each View:
Chart View | Resource Sheet View | Timeline View |
---|---|---|
|
|
|
You can call the StoreToRegistry procedure to save the control’s settings to the registry.