Back to Devexpress

TdxCustomGanttControl.StoreToIniFile(string,Boolean,string) Method

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

latest3.4 KB
Original Source

TdxCustomGanttControl.StoreToIniFile(string,Boolean,string) Method

Saves the control‘s layout to an INI file.

Declaration

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

Parameters

NameTypeDescription
AStorageNamestring

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

StoreToRegistry

StoreToStream

TdxCustomGanttControl Class

TdxCustomGanttControl Members

dxGanttControl Unit