>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement