TParams.setFilePath Method

Change the folder where is the parameter file.

Unit: Olf.RTL.Params
class procedure setFilePath(AFilePath: string; AReload: boolean)

Parameters

AFilePath
Type: System.string

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

AReload
Type: System.Boolean

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

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