Font Bold

  • Thread starter Thread starter Lou
  • Start date Start date
L

Lou

Why is font bold a read only property.
I create a new label control and want to set the font properties.
How do I set the font properties of a newly created label control?

lbl = New Label

lbl.Font.Bold=True
 
Lou said:
Why is font bold a read only property.
I create a new label control and want to set the font properties.
How do I set the font properties of a newly created label control?

lbl = New Label

lbl.Font.Bold=True

\\\
lbl.Font = New Font(lbl.Font, FontStyle.Bold)
///
 
I don't know why

It is something we got used to and the way that I know of is to set the font
to a new font like: Label1.Font= New Font(...)

hth,
Sam
 
Back
Top