Difference between revisions of "FolderItem.Parent"
From Xojo Documentation
Line 24: | Line 24: | ||
If f.Parent <> Nil Then | If f.Parent <> Nil Then | ||
− | + | MessageBox("Parent folder name: " + f.Parent.Name) | |
End If | End If | ||
</rbcode> | </rbcode> |
Latest revision as of 01:33, 30 August 2019
Read-Only Property (As FolderItem )
Returns the FolderItem object for the parent of this item in the file hierarchy.
Notes
Returns Nil if this item is the root.
Example
The following example displays the Name of the Parent.