Computing.Net > Forums > Programming > vb (RICH TEXT BOX)

vb (RICH TEXT BOX)

Reply to Message Icon

Original Message
Name: thennarasu
Date: June 7, 2002 at 23:18:04 Pacific
Subject: vb (RICH TEXT BOX)
Comment:

SIRS,
I WANT TO CHANGE THE COLOR OF CERTAIN TEXT IN THE RICH TEXTBOX WITHOUT SELECTING THE TEXT


Report Offensive Message For Removal


Response Number 1
Name: POOR SCIENTIST
Date: June 8, 2002 at 06:31:16 Pacific
Reply: (edit)

Change "Foreground Color" property.


Report Offensive Follow Up For Removal

Response Number 2
Name: thennarasu
Date: June 10, 2002 at 04:15:51 Pacific
Reply: (edit)

sir,
as i asked that if i want to change
several colors at a time in a textbox
the reply i not enough
ex:
if the rich text box contains two strings namely "hello world "
i want hello in one color and world in some other color.


Report Offensive Follow Up For Removal

Response Number 3
Name: no one
Date: June 11, 2002 at 10:58:18 Pacific
Reply: (edit)

select the text you want to highlight and then do .seltext = vbRed

then learn a decent lanuage.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: vb (RICH TEXT BOX)

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge