How to Change Font Size Using Code

jpb33

New member
Joined
Mar 2, 2005
Messages
4
Programming Experience
Beginner
How do you change the font size of a label using code?

Any help would be greatly appreciated. Thanks!
 

TPM

Well-known member
Joined
Dec 7, 2004
Messages
623
Location
CA
Programming Experience
3-5
You need to set a new font, like this;
VB.NET:
dim MyFont as new font ("arial",18)
MyLabel.font=MyFont
 
Top Bottom