VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



'Applying the fontnames to the textbox'(or to change fontname using listbox)

by satish muranal (2 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 28th October 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

'Applying the fontnames to the textbox'(or to change fontname using listbox)

API Declarations


2) add the listbox
3) add the textbox in textbox u can type anything (ex- bca)
4) add one command button to form

then click on listbox and go the property of listbox (List property) and click
on that list property and add their some fontnames like(Arial black,Arial,
Bookman old style, comic sans ms, times new roman etc)

then change the properties of controls
objectname property settings
command1 name cmdapply
caption apply





Rate 'Applying the fontnames to the textbox'(or to change fontname using listbox)



text1.fontname = list1.text
End sub

Download this snippet    Add to My Saved Code

'Applying the fontnames to the textbox'(or to change fontname using listbox) Comments

No comments have been posted about 'Applying the fontnames to the textbox'(or to change fontname using listbox). Why not be the first to post a comment about 'Applying the fontnames to the textbox'(or to change fontname using listbox).

Post your comment

Subject:
Message:
0/1000 characters