| FolderItemUtilities Xojo Module. |
|
FolderItemUtilities.GetFolderItemRelativeTo Method
Gets FolderItem from relative path and point of origin FolderItem, using “\” as path separator.
shared GetFolderItemRelativeTo(
relativeTo
as FolderItem,
path
as String)
as FolderItem
Parameters
- relativeTo
- The point of origin FolderItem to use.
- path
- The relative path.
Returns
- FolderItem
- The FolderItem for the given relative path or nil if it could not be created.
Remarks
If considering the image bellow then if sending in Docs.dpp for relativeTo and “..\Mach-O Build\Mac64\EHRawGIF.bundle” for path then this function will return the FolderItem for the EHRawGIF.bundle in the picture.

See Also
FolderItemUtilities Class