FolderItemDialog.PromptText

From Xojo Documentation


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

Supported for all project types and targets.

The Help text that appears within the dialog.

Notes

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

Example

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)
Else
// User Cancelled
End If

See Also

OpenDialog, SaveAsDialog, SelectFolderDialog