Back to Devexpress

TdxCustomGanttControl.StoreToRegistry(string,Boolean,string) Method

vcl-dxganttcontrol-dot-tdxcustomganttcontrol-dot-storetoregistry-x28-system-dot-string-system-dot-boolean-system-dot-string-x29.md

latest3.5 KB
Original Source

TdxCustomGanttControl.StoreToRegistry(string,Boolean,string) Method

Saves the control‘s layout to the registry.

Declaration

delphi
procedure StoreToRegistry(AStorageName: string; AReCreate: Boolean = True; const ASaveName: string = '');

Parameters

NameTypeDescription
AStorageNamestring

The name of the registry entry that stores settings. The procedure forms a registry path for the View information and adds the AStorageName value to the HKEY_CURRENT_USER key.

| | AReCreate | Boolean |

You can set this parameter to False to add information to an existing key; otherwise, the procedure deletes the existing registry key and recreates it.

| | ASaveName | 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.

|

Remarks

Call this procedure to save appearance and behavior settings of the control‘s Views to the registry. You can restore this information to recover changes previously applied to the control.

A StoreToRegistry procedure call saves the following settings of each View:

|

Chart View

|

Resource Sheet View

|

Timeline View

| | --- | --- | --- | |

|

|

|

See Also

StoreToRegistry

StoreToStream

TdxCustomGanttControl Class

TdxCustomGanttControl Members

dxGanttControl Unit