Hi,
FontStyle is a Flags enumeration, which means you can combine its values by using the Or operator:
Label1.Font = New Font("Arial", 9.75!, FontStyle.Underline Or FontStyle.Bold)
Also, if you're just changing font's style, you can use the existing font, like:
Label1.Font = New Font(Label1.Font, FontStyle.Underline Or FontStyle.Bold)
Andrej
|