Wrox Programmer Forums
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 5th, 2004, 10:58 PM
Registered User
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Rich Text Box

Can someone tell me how to change the color for my chat program i'm making. I have 2 checkboxes and colors beside then and if they check them it will turn the text typed in text1.text thats shown up in richtextbox1 will be the colour that they have checked. Anyone know how i can do that?

 
Old September 29th, 2004, 02:37 AM
Authorized User
 
Join Date: Sep 2004
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Lalit_Pratihari
Default

Hi,

You can take the help of CommonDialog Control. Just assign the selected color to the underlying RichTextBox.

Hope this helps,

Lalit
Life Means More...;)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting inside Rich Text Box bettiahamit .NET Framework 3.5 1 November 10th, 2008 06:04 AM
Rich Text Box aliirfan84 ASP.NET 2.0 Professional 1 February 23rd, 2007 06:35 AM
RICH TEXT BOX priyanka123 VB How-To 0 May 6th, 2004 01:46 PM
Printing from a rich text box snowy0 VB.NET 2002/2003 Basics 2 April 24th, 2004 10:04 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.