Search the web
Sign In
New User? Sign Up
fdb · FDB's "Advanced Programming" list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
List Installed Fonts   Message List  
Reply | Forward Message #50 of 103 |
List Installed Fonts

Nearly every text editor needs a combo box listing all the fonts installed
on the PC, so the user can choose what font some text appears in.
Fortunately, this is very simple in VB, using the Screen.Fonts() array. You
could also use the Printer.Fonts() array to list the available printer
fonts.

Private Sub Form_Load()
Dim I As Integer ' Declare variable.
For I = 0 To Screen.FontCount -1 ' Determine number of fonts.
List1.AddItem Screen.Fonts (I) ' Put each font into list box.
Next I
End Sub







Fri Jun 29, 2001 2:54 pm

ferialb@...
Send Email Send Email

Forward
Message #50 of 103 |
Expand Messages Author Sort by Date

List Installed Fonts Nearly every text editor needs a combo box listing all the fonts installed on the PC, so the user can choose what font some text appears...
FDB & HRB
ferialb@...
Send Email
Jun 29, 2001
2:56 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help