SetFontStyle
Previous  Next

Changes the font style of a control.
Syntax: SetFontStyle (ControlName As Control, Bold As Boolean, UnderLine As Boolean, Italic As Boolean, StrikeOut As Boolean)

Changing the font style of a form will change the font style of strings that are written using Form.DrawString method.

Example:
flb.SetFontStyle ("Button1", true, true, false, false)