Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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