>Can somebody in here tell me what's the reason why I have to initialize the Flags property of the CommonDialog control?
>
>I see I have to do that when I have to display the Font Dialog and the Color Dialog.
You don't have to set the Flags property when using the ShowColor method.
And from VB's Help file:
"Note You must set the Flags property to cdlCFScreenFonts, cdlCFPrinterFonts, or cdlCFBoth before displaying the Fonts dialog box. Otherwise, the error No Fonts Exist occurs."
Otherwise, the dialog wouldn't know what type of fonts to display.
Does that help?
best,
jody
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only