Skip to main content

TdxCustomGanttControl.StoreToIniFile(string,Boolean,string) Method

Saves the control‘s layout to an INI file.

Declaration

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

Parameters

Name Type Description
AStorageName string

A path to the target INI file.

AReCreate Boolean

You can set this optional parameter to False to prevent the file from executing recreate operations.

ASaveName string

The control’s name in the INI file. The procedure uses the control’s name if you pass an empty string as the parameter value.

Remarks

You can restore this information to recover changes previously applied to the control.

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

Chart View

Resource Sheet View

Timeline View

You can call the RestoreFromIniFile method to restore the control’s previous settings from an INI file.

See Also