Help - Search - Members - Calendar
Full Version: Vb.net Help
BleepingComputer.com > Software > Programming
   
shortymac
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
In the button click event:

Dim fnt As Font
rtxtPersonalPad.ForeColor = Color.Black
fnt = New Font("Sans Serif", 12, FontStyle.Regular)
rtxtPersonalPad.Font = fnt
shortymac
thanks so much! smile.gif

you're the greatest! <3
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.