hello again,
i'm working with a richtext box, i can get font to be bold, or italic, or underline.... but i can't get two or more at the same time.....
i tried....
it marks no error, but a run time, it just makes the text regular. any ideas?
i'm working with a richtext box, i can get font to be bold, or italic, or underline.... but i can't get two or more at the same time.....
VB.NET:
text1.SelectionFont = New Font(text1.Font.Name, text1.Font.Size, FontStyle.bold)
VB.NET:
text1.SelectionFont = New Font(text1.Font.Name, text1.Font.Size, FontStyle.bold and FontStyle.italic)
it marks no error, but a run time, it just makes the text regular. any ideas?