TParamsFile.setFilePath Method

Definition

Change the folder where is the parameter file.

Delphi
procedure setFilePath(AFilePath: string; AReload: boolean = True)

Parameters

AFilePath
string

Absolute file path (drive+folder+file name+extension) to the parameter file you want to use.

AReload
Boolean

If set to True (by default), call Load procedure after changing the file path.

Remarks

If you only want to change the path to the parameter file, use setFolderName procedure instead of this one.