Click to See Complete Forum and Search --> : Loading fonts


mikledet
February 15th, 2000, 03:26 PM
Hi,
I am trying to make an option box for font selection in my app.
In order to do that, I am using the common dialog box.
When the app reaches the show method - I get an error that "no fonts are loaded".
I tried looking at the msdn - but couldn't find documentation on "loading the fonts".
Any pointers will be welcome.
Thax.
Dani

diprima
February 15th, 2000, 04:22 PM
Before the showfont line you must set the flag to a specified value, something like this:

Dialog1.flag= cdlCFScreenFonts Or cdlCFPrinterFonts Or cdlCFBoth 'your choice
dialog1.showfont




ivan