Flags Property (CommDlg)

Purpose

Returns or sets the options for a common dialog box.

Syntax

CommDlg.Flags [ = long ]

Description

The Flags property specifies the options for a common dialog box. The Flags property is shared by all common dialog boxes. Each dialog box has its own set of predefined flags. These flag values are listed in the Show methods of the CommDlg object.

ShowOpen Show Open Dialog Box
ShowSave Show Save As Dialog Box
ShowColor Show Color Dialog Box
ShowFont Show Font Dialog Box
ShowPageSetup Show Page Setup Dialog Box
ShowPrint Show Print or Print Options Dialog Box
ShowHelp Invokes the Windows Help Engine for .hlp files only; see Accessing HTMLHelp Files for how to access .chm help files.

{Created by Sjouke Hamstra; Last updated: 12/05/14 by James Gaite}