FMX.Import.SetLocalPath
Delphi
function SetLocalPath(const APath: string; var AFileName: string):boolean;
C++
extern DELPHI_PACKAGE bool __fastcall SetLocalPath(const System::UnicodeString APath, System::UnicodeString &AFileName);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.Import.pas FMX.Import.hpp |
FMX.Import | FMX.Import |
Description
Checks whether a file exists and, if it does, sets the local path of the file.
SetLocalPath checks whether the file specified by the AFileName parameter exists. If the file exists, it returns True and sets the local path of the file. Else, it returns False.