>But I need to color just a part of it depending on the specific test which matches a search
>
>>Hi,
>>
>>If you want to color the background of your textbox, you could make it transparent and place a picture behind it.
>>
>>additionally: Craig Boyd showed some cool gradient effects with GDI+ and grids and maybe this could help you more, as he generated the effect on the fly based on background gradient functions.
>>
>>
http://www.sweetpotatosoftware.com/spsblog/CommentView,guid,94b58210-456a-4fc5-84c9-39db7dcde478.aspx>>
>>>Hi all,
>>>Is it possible to colour just a piece of text box ? If so how ?
>>>
>>>thanks Alessio
Alessio,
I dont think that it's possible to achieve what you are looking for with a Text box. Consider to use an Editbox, transform your textbox.Value into RTF and you are able to highlight.
Ciao,
Koen