Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coloring just a part of a text box
Message
From
23/09/2010 06:51:41
 
 
To
21/09/2010 07:00:17
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01481587
Message ID:
01482423
Views:
70
This message has been marked as a message which has helped to the initial question of the thread.
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform