Dialog Helper Object
 | |
Provides access the color dialog box, as well as the block format and fonts collections.
Members Table
The following table lists the members exposed by the
Dialog Helper
object. Click a tab on the left to choose the type of member you want to view.
Collections
| Collection | Description |
|---|
| blockFormats |
Retrieves a collection of strings that specify the names of the available block format tags. |
| fonts |
Retrieves a collection of all the system-supported fonts. |
Methods
| Method | Description |
|---|
| ChooseColorDlg |
Opens the system color-selection dialog box. |
| getCharset |
Retrieves a Variant that specifies the character set of the specified font. |
Remarks
To create this object, use the OBJECT element and provide the class identifier (CLSID) for the dialog helper.
Example
This code creates a dialog helper object which can be referenced by its id value.
<OBJECT id=dlgHelper CLASSID="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b" width="0px" height="0px">
</OBJECT>