Mar 3, 2006 #1 BobBob10 Programmer Apr 24, 2005 57 GB How do I make a label bold at run time? Can't seem to do it, is it because the property is read only?
How do I make a label bold at run time? Can't seem to do it, is it because the property is read only?
Mar 3, 2006 #2 earthandfire Programmer Mar 14, 2005 2,924 GB You need to create your own font object and set it as the font property for the label. Hope this helps. Upvote 0 Downvote
You need to create your own font object and set it as the font property for the label. Hope this helps.
Mar 3, 2006 #3 SqueakinSweep Programmer Jun 20, 2002 945 GB You can do this. Code: Label4.Font = New Font(Label4.Font, FontStyle.Bold) Sweep ...if it works, you know the rest.. Always remember that Google is your friend Upvote 0 Downvote
You can do this. Code: Label4.Font = New Font(Label4.Font, FontStyle.Bold) Sweep ...if it works, you know the rest.. Always remember that Google is your friend
Mar 3, 2006 Thread starter #4 BobBob10 Programmer Apr 24, 2005 57 GB worked a treat. Why in .net do you have to set a new font. Font isn't an object it's a property!? Upvote 0 Downvote
Mar 3, 2006 #5 earthandfire Programmer Mar 14, 2005 2,924 GB A property can be an object and in this case it is. Hope this helps. Upvote 0 Downvote