ShowGetDirectoryDlg method (LEADDlgFile Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

int ShowGetDirectoryDlg (TWinControl* AOwnerCtrl);

Delphi Syntax

Function ShowGetDirectoryDlg (AOwnerCtrl: TWinControl ): L_INT;

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Displays the Get Directory dialog box, and allows the user to browse the file system for a folder/directory.

The properties associated with this dialog box are:

Directory property.

Filter property.

FilterIndex property.

DialogTitle property.

To include a Help button in the dialog, set the ShowHelpButton property to TRUE.

The Get Directory dialog can be seen below:

image\GetDirectory.gif

See Also

Elements:

Directory property, Filter property, FilterIndex property, DialogTitle property, ShowHelpButton property, EnableMethodErrors property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events