Object

FolderItemDialog Class

Base class for the OpenDialog, SaveAsDialog, and SelectFolderDialog classes, which allow you to create customized open, save, and select folder dialog boxes.

Properties
ActionButtonCaption | PromptText
CancelButtonCaption | Result
Filter | SuggestedFileName
InitialDirectory | Title
Left | Top

Methods
ShowModal
ShowModalWithin

# Notes

Not all properties are available for all three subclasses of FolderItemDialog and some properties are not supported on Windows. The descriptions for each of the three subclasses have illustrations of the dialogs on each of the three platforms (Windows, Mac OS X, and Linux).

The following table clarifies the situation.

Property | Windows |  |  | Macintosh |  |  | Linux |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
| Open Dialog | SaveAs Dialog | Select Folder | Open Dialog | SaveAs Dialog | Select Folder | Open Dialog | SaveAs Dialog | Select Folder
Top & Left | √ | √ | √ | √ | √ | √ | √ | √ | √
PromptText |  |  | √ | √ | √ | √ |  |  |
Title | √ | √ | √ | √ | √ | √ | √ | √ | √
ActionButtonCaption |  |  | √ | √ | √ | √ |  |  |
CancelButtonCaption |  |  |  | √ | √ | √ |  |  |
SuggestedFileName | √ | √ |  |  | √ |  |  | √ |
Filter | √ | √ |  | √ |  |  | √ | √ |
InitialDirectory | √ | √ | √ | √ | √ | √ | √ | √ | √

# Examples

See the examples and illustrations for the OpenDialog, SaveAsDialog, and SelectFolderDialogclasses.

# See Also

OpenDialog, SaveAsDialog, SelectFolderDialog classes.