From Xojo Documentation

Revision as of 01:33, 30 August 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As FolderItem )
FolderItemValue = aFolderItem.Parent

Supported for all project types and targets.

Returns the FolderItem object for the parent of this item in the file hierarchy.


Returns Nil if this item is the root.


The following example displays the Name of the Parent.

Var f As New FolderItem
f = FolderItem.ShowOpenFileDialog("text/plain")

If f.Parent <> Nil Then
MessageBox("Parent folder name: " + f.Parent.Name)
End If