Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Common Dialog Control & Windows 2000

Status
Not open for further replies.

gpalmer711

IS-IT--Management
May 11, 2001
2,445
0
0
GB
I am trying to create a form in my application that will allow the users to set a custom font. The problem I am getting though is when I run the application and click on the command button I have set up to show the commondialog.showfont, I receive a message saying that there are no fonts installed even though I have about 150 installed at the moment.
Any Ideas???
 
You forgot to set the flag property

CommonDialog1.Flags = cdlCFBoth + cdlCFEffects
CommonDialog1.ShowFont


This should work
its not a win2000 fault
 
its not win2000-fault
you need to set the flag-property

CommonDialog1.Flags = cdlCFBoth + cdlCFEffects
CommonDialog1.ShowFont

this should work
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top