Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

several highlight in textbox

Status
Not open for further replies.

1362000

Technical User
Jul 31, 2005
10
IR
hello
how i can highlight several words in a text box?
is there special activex or api?
please help me.
 
You'll need to start looking at the richtextbox control - anmd even with that it isn't straightforward.
 
Well, if the words are all contiguous, read up on the selstart and sellength (and while you're at it, seltext) properties of the text box.

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top