Description

An ACommonDialog consists of a standard set of dialog boxes for operations such as opening and saving files, setting print options, and selecting colors and fonts. The control also has the ability to display help by running the Windows Help engine.  From ATEasy 51, this also allows to select directory See the property OpenOptions for example.

Properties

 

Bold

FontOptions

Name

Color

FontSize

Object

ColorOptions

FontSizeMax

OpenOptions

Copies

FontSizeMin

Orientation

DefaultExt

FromPage

PrinterDefault

Description

FromPageMin

PrintOptions

DialogTitle

hDC

SaveAsOptions

FileName

HelpCommand

Strikeout

FileTitle

HelpContextId

Tag

Filter

HelpFile

ToPage

FilterIndex

HelpTopic

ToPageMax

Font

InitialDir

Underline

FontName

Italic

WhatsThisHelpId

Methods

 

ShowColor

ShowHelp

ShowPrint

ShowFont

ShowOpen

ShowSaveAs

Constants

 

enumACommonDialogColorOptions

enumACommonDialogOrientation

enumACommonDialogFontOptions

enumACommonDialogPrintOptions

enumACommonDialogHelpCommand

enumACommonDialogRetVal

enumACommonDialogOpenOptions

enumACommonDialogSaveAsOptions

Comments

The ACommonDialog control provides an interface between ATEasy and the routines in the Microsoft Windows dynamic-link library Commdlg.dll.

You use the ACommonDialog control in your application by adding it to a form and setting its properties. The dialog displayed by the control is determined by the methods of the control. At run time, a dialog box is displayed or the help engine is executed, when the appropriate method is invoked. At design time, the ACommonDialog control is displayed as an icon on a form. This icon can't be sized.

The ACommonDialog control automatically provides context sensitive help on the interface of the dialog boxes by clicking:

The operating system provides the text shown in the Windows Help popup.

Note: There is no way to specify where a dialog box is displayed.