From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As String )
aFolderItemDialog.PromptText = newStringValue
StringValue = aFolderItemDialog.PromptText

Supported for all project types and targets.

The Help text that appears within the dialog.


PromptText is displayed on macOS for all dialog types and on Windows for SelectFolderDialog.


This example illustrates all the labelling properties of a FolderItemDialog.

Var dlg As OpenDialog
Var f As FolderItem
dlg = New OpenDialog
dlg.PromptText = "Select a file"
f = dlg.ShowModal
If f <> Nil Then
MessageBox("You selected: " + f.NativePath)
// User Cancelled
End If

See Also

OpenDialog, SaveAsDialog, SelectFolderDialog