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.

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

See Also

OpenDialog, SaveAsDialog, SelectFolderDialog