| FolderItemUtilities Xojo Module. |
|
FolderItemUtilities.GetFolderItemRelativeTo Method
Gets FolderItem from relative path and point of origin FolderItem, taking in path separator.
shared GetFolderItemRelativeTo(
relativeTo
as FolderItem,
path
as String,
pathSeparator
as String)
as FolderItem
Parameters
- relativeTo
- The point of origin FolderItem to use.
- path
- The relative path.
- pathSeparator
- Path separator to use.
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 and “\” for path separator then this function will return the FolderItem for the EHRawGIF.bundle in the picture.

See Also
FolderItemUtilities Class