Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help Forums Windows Startup Programs Database Spyware and Malware Removal Guides Computer Tutorials Uninstall Database File Database Computer Glossary Computer Resources
 

Welcome Guest ( Log In | Click here to Register a free account now! )



Register a free account to unlock additional features at BleepingComputer.com
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.
Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Important Announcement: The winners of the BC Million Post contest have been announced. You can read who the winners are at this post.

- BleepingComputer Management
 
Reply to this topicStart new topic
> Vb.net Help, how do i set the font of a rich text box to microsoft sans serif, size
shortymac
post Nov 6 2005, 01:18 PM
Post #1


Member
**

Group: Members
Posts: 20
Joined: 18-October 05
Member No.: 37,758



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 = ?


--------------------
Despite many reverses, freedom has won many battles. Many died in those battles in the conviction that to die in the struggle against oppression was better than to live without freedom. Such a death is the utmost assertion of their individuality. ~ Erich Fromm
Go to the top of the page
 
+Quote Post
Jay Cat
post Nov 6 2005, 03:18 PM
Post #2


New Member
*

Group: Members
Posts: 7
Joined: 3-August 05
Member No.: 29,805



In the button click event:

Dim fnt As Font
rtxtPersonalPad.ForeColor = Color.Black
fnt = New Font("Sans Serif", 12, FontStyle.Regular)
rtxtPersonalPad.Font = fnt
Go to the top of the page
 
+Quote Post
shortymac
post Nov 6 2005, 04:37 PM
Post #3


Member
**

Group: Members
Posts: 20
Joined: 18-October 05
Member No.: 37,758



thanks so much! smile.gif

you're the greatest! <3


--------------------
Despite many reverses, freedom has won many battles. Many died in those battles in the conviction that to die in the struggle against oppression was better than to live without freedom. Such a death is the utmost assertion of their individuality. ~ Erich Fromm
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 22nd November 2008 - 06:22 AM


Advertise   |   About Us   |   Terms of Use   |   Privacy Policy   |   Contact Us   |   Site Map   |   Chat   |   Tutorials   |   Uninstall List
Discussion Forums   |   The Computer Glossary   |   Resources   |   RSS Feeds   |   Startups   |   The File Database   |   Malware Removal Guides

© 2003-2008 All Rights Reserved Bleeping Computer LLC.