Skip to main content

TdxCustomGanttControl.StoreToRegistry(string,Boolean,string) Method

Saves the control‘s layout to the registry.

Declaration

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

Parameters

Name Type Description
AStorageName string

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