Click to See Complete Forum and Search --> : .ShowFont common dialog


Andrew
November 5th, 1999, 11:33 AM
In my current project when I try to call the common dialog font window

dlg1.ShowFont

I get the message that no fonts are installed and to open the "Fonts" folder in the control panel and install the fonts. According to the control panel I have 90 fonts installed. I tried to run the procedure on another computer and got the same result.

Any ideas as to what may be causing this problem?

Thanks,

Andrew

Aaron Young
November 5th, 1999, 08:27 PM
You need to tell it which Fonts to List, otherwise you'll just get the "No Fonts Installed" Error, eg.

With CommonDialog1
.DialogTitle = "Screen Fonts Available.."
.Flags = cdlCFScreenFonts
.ShowFont
End With




Aaron Young
Analyst Programmer
adyoung@win.bright.net
aarony@redwingsoftware.com