# VBComDlg Enumerations
{: .no_toc }

The 17 public enumerations of the package, in groups by dialog. All of them are declared inside the [**CommonDialog**](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/CommonDialog.md) class, and their members can be written with or without the name of the enumeration, as in `CdlOFNFileMustExist` or `CdlOFNConstants.CdlOFNFileMustExist`.

Most of them are sets of flags for the [**Flags**](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/CommonDialog.md#flags) property, with the values of the Windows constants of the same names (`OFN_FILEMUSTEXIST` for **CdlOFNFileMustExist**, `CC_FULLOPEN` for **CdlCCFullOpen**). The members are combined with **Or**.

## File dialogs
{: .no_toc }

The File Open and File Save dialogs.

- [CdlOFNConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlOFNConstants.md) -- options of the File Open and File Save dialogs
- [CdlOFNShareViResultConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlOFNShareViResultConstants.md) -- how the dialog answers a sharing violation

## Color dialog
{: .no_toc }

- [CdlCCConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlCCConstants.md) -- options of the Color dialog

## Font dialog
{: .no_toc }

- [CdlCFConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlCFConstants.md) -- options of the Font dialog

## Print dialogs
{: .no_toc }

The Print dialog and the extended Print dialog.

- [CdlPDConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlPDConstants.md) -- options of the Print and extended Print dialogs
- [CdlPDResultConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlPDResultConstants.md) -- the button that closed the extended Print dialog

## Page Setup dialog
{: .no_toc }

- [CdlPSDConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlPSDConstants.md) -- options of the Page Setup dialog

## Printer settings
{: .no_toc }

The values of the printer properties that the Print, extended Print and Page Setup dialogs read and return.

- [CdlPRBNConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlPRBNConstants.md) -- paper sources (bins)
- [CdlPRCMConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlPRCMConstants.md) -- monochrome or color printing
- [CdlPRDPConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlPRDPConstants.md) -- one-sided or two-sided printing
- [CdlPRORConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlPRORConstants.md) -- portrait or landscape orientation
- [CdlPRPQConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlPRPQConstants.md) -- print quality presets
- [CdlPRPSConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlPRPSConstants.md) -- paper sizes

## Folder Browser dialog
{: .no_toc }

- [CdlBIFConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlBIFConstants.md) -- options of the Folder Browser dialog

## Find and Replace dialogs
{: .no_toc }

- [CdlFRConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlFRConstants.md) -- options and results of the Find and Replace dialogs

## Help and errors
{: .no_toc }

- [CdlHelpConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlHelpConstants.md) -- commands for the WinHelp viewer
- [CdlErrorConstants](/twinBASIC-docs/tB/Packages/Contributed/VBComDlg/Enumerations/CdlErrorConstants.md) -- run-time error numbers that the dialogs raise
