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);
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| function | public | FMX.Import.pas FMX.Import.hpp |
FMX.Import | FMX.Import |
Description
Vérifie si un fichier existe, et si c'est le cas, définit le chemin local du fichier.
SetLocalPath vérifie si le fichier spécifié par le paramètre AFileName existe. Si le fichier existe, elle renvoie True et définit le chemin local du fichier. Sinon, elle renvoie False.