VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Change the font of a textbox by selecting all avalible fonts in a list box

by Robin Hickmott (5 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Fri 28th January 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Change the font of a textbox by selecting all avalible fonts in a list box

Rate Change the font of a textbox by selecting all avalible fonts in a list box



For Font = 1 To Screen.FontCount
    Font_List.AddItem Screen.Fonts(Font)
Next I
End Sub

Private Sub List1_Click()
Text1.Font = List1.Text
End Sub


Download this snippet    Add to My Saved Code

Change the font of a textbox by selecting all avalible fonts in a list box Comments

No comments have been posted about Change the font of a textbox by selecting all avalible fonts in a list box. Why not be the first to post a comment about Change the font of a textbox by selecting all avalible fonts in a list box.

Post your comment

Subject:
Message:
0/1000 characters