shortymac
Nov 6 2005, 01:18 PM
how do i set the font of a rich text box to microsoft sans serif, size 12 font, color black? This is of course after you click a button.
heres what i have so far:
rtxtPersonalPad.Font = ?
rtxtPersonalPad.Color = ?
Jay Cat
Nov 6 2005, 03:18 PM
In the button click event:
Dim fnt As Font
rtxtPersonalPad.ForeColor = Color.Black
fnt = New Font("Sans Serif", 12, FontStyle.Regular)
rtxtPersonalPad.Font = fnt