| FolderItemUtilities Xojo Module. |
|
FolderItemUtilities.GetRelativePath Method
Gets path for folder item relative to another folder item, using “\” as path separator.
shared GetRelativePath(
f
as FolderItem,
relativeTo
as FolderItem)
as String
Parameters
- f
- The FolderItem to get relative path for.
- relativeTo
- The FolderItem that is point of origin which the other FolderItem should be relative too.
Returns
- String
Remarks
If considering the picture bellow, and passing in Docs.dpp for the relativeTo parameter and EHRawGIF.bundle for the f parameter then this function will return:
..\Mach-O Build\Mac64\EHRawGIF.bundle

See Also
FolderItemUtilities Class