Talk:System.IOUtils.TPath.GetDownloadsPath
API:Controls.TDragControlObject
There exists a little bug in the uses declaration. The uses position of System.IOUtils must be AFTER FMX.Objects.
Hi,
Could you please provide more details about it, as it looks like your comment relates to a different page. Thanks.
Hello,
when using TPath.GetDownloadsPath you should ensure that FMX.Objects comes first in your uses declaration and then System.IOUtils. Otherwhise it wont work.
like:
uses
FMX.Objects
System.IOUtils
This order is correct, if you do it vice versa, System.IOUtils wont be recognised.
Hi,
Thanks for the update.
You can find more detailed information about the uses position in the Multiple and Indirect Unit References section on the Programs and Units (Delphi) page: The compiler uses the one from the unit listed last in the uses clause. (To access the identifier from the other unit, you would have to add a qualifier: UnitName.Identifier.).
It's better not to duplicate this information on System.IOUtils.TPath.GetDownloadsPath, as it may refer to a lot of docwiki pages.
Thanks for your contribution!