Hi everyone!
Im trying to write a simple texteditor (like notepad) but ive got a little problem: i dont know how to make that a portion of text in a textbox or richtextbox be "iluminated" (dont know if this word exists in english, sorry). I mean, have you seen the blue backcolor that gets the text when you select it with the mouse (or when notepad finds the text you're searching for), how can i make my text get iluminated in that way?
Ive tried to make:
tb.select(2,5);
but the color of the text isnt changed.
I would appreciate any help anybody could send me.
Please, send your responses to josanguapo@hotmail.com
Thanks for your time.
José Antonio.
Im trying to write a simple texteditor (like notepad) but ive got a little problem: i dont know how to make that a portion of text in a textbox or richtextbox be "iluminated" (dont know if this word exists in english, sorry). I mean, have you seen the blue backcolor that gets the text when you select it with the mouse (or when notepad finds the text you're searching for), how can i make my text get iluminated in that way?
Ive tried to make:
tb.select(2,5);
but the color of the text isnt changed.
I would appreciate any help anybody could send me.
Please, send your responses to josanguapo@hotmail.com
Thanks for your time.
José Antonio.