All Tech Tips

Dialog Helper Object

Provides access the color dialog box, as well as the block format and fonts collections.

Members Table

CollectionDescription
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.
MethodDescription
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> 



Copyright © 2006 alltechtips.com. All rights reserved.

This website and the materials and information you find on this website are provided "as is", without warranty of any kind, either express or implied, including without limitation any warranty for information, services, or products provided through or in connection with the service and any implied warranties of merchantability, fitness for a particular purpose, expectation of privacy or non-infringement.