Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change color of a substring of a caption
Message
De
05/03/2019 09:10:55
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
04/03/2019 10:53:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01666960
Message ID:
01666989
Vues:
70
>Hi,
>
>I have a window/form that has many check boxes. Each check box has a caption. I want to add a text box at the top of the form so that the user can search for any check box caption which contains the entered text. For example, when a user enters "fox", a method of the form will scan all check boxes and check if the caption has the word "fox." So far, it is all fairly easy to do.
>
>But then I want the substring of the caption to change the color (or make it bold). For example, if a check box has a caption
>"Visual FoxPro" I want the word/substring "Fox" to be highlighted by a color or make it bold.
>
>Is this possible? And if yes, how? TIA

I would then create an HTML based UI. (Or write checkbox captions using RichText control - not as intuitive as HTML)

Just my 0.00005 cents.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform