Free Republic
Browse · Search
News/Activism
Topics · Post Article

Skip to comments.

RichTextBox.SelectionColor Property
Corpus Christi Caller-Times ^ | 01/18/2005 | CAWats

Posted on 09/18/2005 11:04:54 AM PDT by CAWats

RichTextBox.SelectionColor Property Gets or sets the text color of the current text selection or insertion point.

Public Sub ChangeMySelectionColor() Dim colorDialog1 As New ColorDialog()

' Set the initial color of the dialog to the current text color. colorDialog1.Color = richTextBox1.SelectionColor

' Determine if the user clicked OK in the dialog and that the color has ' changed. If (colorDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK) _ And Not(colorDialog1.Color.Equals(richTextBox1.SelectionColor)) Then

' Change the selection color to the user specified color. richTextBox1.SelectionColor = colorDialog1.Color End If End Sub


TOPICS:
KEYWORDS: property; richtextbox; selectioncolor
Navigation: use the links below to view more comments.
first 1-2021-4041-6061-68 next last

1 posted on 09/18/2005 11:04:56 AM PDT by CAWats
[ Post Reply | Private Reply | View Replies]

To: CAWats; Zavien Doombringer; 4mycountry; VRWCmember; Poohbah; dighton; Grampa Dave; hchutch; ...

Are you logged in?


2 posted on 09/18/2005 11:05:37 AM PDT by mhking (The world needs a wake up call gentlemen...we're gonna phone it in.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: CAWats

IBFZ!


3 posted on 09/18/2005 11:05:40 AM PDT by Luke Skyfreeper
[ Post Reply | Private Reply | To 1 | View Replies]

To: CAWats

I DID NOT MEAN TO POST THIS.


4 posted on 09/18/2005 11:06:22 AM PDT by CAWats (I don't have any confidence in my ability to fail - Kenneth Copeland)
[ Post Reply | Private Reply | To 1 | View Replies]

To: CAWats

Isn't that VB? I hate VB.


5 posted on 09/18/2005 11:06:56 AM PDT by MarkeyD (Cindy - The new 'C' word! I really, really loathe liberals.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: CAWats

6 posted on 09/18/2005 11:07:16 AM PDT by oldleft
[ Post Reply | Private Reply | To 1 | View Replies]

To: CAWats

A self zot?


7 posted on 09/18/2005 11:07:33 AM PDT by Mark was here (How can they be called "Homeless" if their home is a field?.)
[ Post Reply | Private Reply | To 4 | View Replies]

To: Luke Skyfreeper

8 posted on 09/18/2005 11:08:05 AM PDT by Luke Skyfreeper
[ Post Reply | Private Reply | To 3 | View Replies]

To: MarkeyD

Sorry, I was working on a routine that inserts HTML and accidentally posted.


9 posted on 09/18/2005 11:08:34 AM PDT by CAWats (I don't have any confidence in my ability to fail - Kenneth Copeland)
[ Post Reply | Private Reply | To 5 | View Replies]

To: CAWats; mhking
I DID NOT MEAN TO POST THIS.

Fame doesn't land on one's doorstep every day. Take it.

10 posted on 09/18/2005 11:08:35 AM PDT by dighton
[ Post Reply | Private Reply | To 4 | View Replies]

To: CAWats

Ask the mod to pull it.
BTDT.


11 posted on 09/18/2005 11:08:44 AM PDT by MaryFromMichigan
[ Post Reply | Private Reply | To 4 | View Replies]

To: MaryFromMichigan

Dont know how. Sorry.


12 posted on 09/18/2005 11:10:06 AM PDT by CAWats (I don't have any confidence in my ability to fail - Kenneth Copeland)
[ Post Reply | Private Reply | To 11 | View Replies]

To: CAWats

A little faulty cut and paste, there, it seems.


13 posted on 09/18/2005 11:11:32 AM PDT by MineralMan (godless atheist)
[ Post Reply | Private Reply | To 1 | View Replies]

To: CAWats

Click your heels together and say, "There's no place like home. There's no place like home."

No, not really. Just address a note to Moderator and ask to have it pulled.

On the other hand, it might be fun to let it stand.


14 posted on 09/18/2005 11:12:40 AM PDT by MaryFromMichigan
[ Post Reply | Private Reply | To 12 | View Replies]

To: CAWats
RichTextBox.SelectionColor Property Gets or sets the text color of the current text selection or insertion point.

If it doesn't get or set the text color, what does it do?

15 posted on 09/18/2005 11:14:27 AM PDT by Dan Nunn
[ Post Reply | Private Reply | To 1 | View Replies]

To: MaryFromMichigan

I was using a Font Dialog box to change font boldness, color, etc then create the HTML automatically (the computer does everything automatically, don't ya know) then paste it all in FreeRepublic. Its working pretty well actually.


16 posted on 09/18/2005 11:16:49 AM PDT by CAWats (I don't have any confidence in my ability to fail - Kenneth Copeland)
[ Post Reply | Private Reply | To 14 | View Replies]

To: mhking

myway.com

Most people there are under age twenty-two.


17 posted on 09/18/2005 11:17:31 AM PDT by BenLurkin (O beautiful for patriot dream - that sees beyond the years)
[ Post Reply | Private Reply | To 2 | View Replies]

To: MineralMan

It looks like a typical newspaper column to me.


18 posted on 09/18/2005 11:18:56 AM PDT by Right Wing Assault ("..this administration is planning a 'Right Wing Assault' on values and ideals.." - John Kerry)
[ Post Reply | Private Reply | To 13 | View Replies]

To: CAWats
I DID NOT MEAN TO POST THIS.

I DID NOT MEAN TO RESPOND TO THIS.

19 posted on 09/18/2005 11:19:31 AM PDT by Lazamataz (Islam is merely Nazism without the snappy fashion sense.)
[ Post Reply | Private Reply | To 4 | View Replies]

To: CAWats
I was using a Font Dialog box to change font boldness, color, etc then create the HTML automatically (the computer does everything automatically, don't ya know) then paste it all in FreeRepublic.Its working pretty well actually.

I can see that.
Bless your heart!
20 posted on 09/18/2005 11:19:48 AM PDT by MaryFromMichigan
[ Post Reply | Private Reply | To 16 | View Replies]


Navigation: use the links below to view more comments.
first 1-2021-4041-6061-68 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
News/Activism
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson