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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Font/Common Dialog Control

Status
Not open for further replies.

UncleCake

Technical User
Joined
Feb 4, 2002
Messages
355
Location
US
Is there a way to use the Common Dialog Control and only display the font choices instead of the font, font style, and size? In other words, eliminate the choice of font style and size.

-Uncle Cake
 

No, I don't believe there is a way to do that with the common dialog, but you could create your own form that loaded just the fonts in a combo box...

[tt]
Dim I As Integer

For I = 0 To Screen.FontCount - 1
Combo1.AddItem Screen.Fonts(I)
Next
[/tt]

Good Luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top