Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coloring just a part of a text box
Message
De
23/09/2010 06:51:41
 
 
À
21/09/2010 07:00:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01481587
Message ID:
01482423
Vues:
69
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform