Results 1 to 3 of 3

Thread: How to insert font types to a combo

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Location
    México, D.F.
    Posts
    64

    Talking

    How can i insert to a combo the names and the picture of the fonts that have word perfect?.



  2. #2
    Guest
    This will add all the fonts to a Combobox.

    Code:
    For i = 0 to screen.fontcount - 1 
    Combo1.additem(screen.fonts(i))
    Next i 
    
    Private Sub Combo1_Click()
    Text1.FontName = Combo1.Text
    Text1.Text = Combo1.Text
    End Sub
    
    'Put it in the Combo1_Change event as well.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Location
    México, D.F.
    Posts
    64

    Talking

    Thanks a lot

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width