VB.NET Font question - 09-27-2005 , 08:28 AM
Hi, I'm having a problem with trying to make the text of a button both
bold and italic at runtime. All that i have so far is Button.Font = New
Font("sans seriff", 9, FontStyle.Italic), but i need to make it bold as
well as italic at the same time. Thanks a lot.
Re: VB.NET Font question - 09-27-2005 , 09:48 AM
((FontStyle)(FontStyle.Bold | FontStyle.Italic)));
this is how IDE creates font object for the control.
are you using any IDE? if not i'd suggest you use one. if you don't want
to spend money on something like visual studio try this:
there is visual studio open source clone.
adam.spamfree (AT) gmail (DOT) com wrote:
|Thread Tools||Search this Thread|