Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Different colors on ListBox items
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00112907
Message ID:
00113273
Vues:
21
>Is there any way to have different items in a ListBox have different colors in VFP 5.0 or VFP 6.0?

Yes, You can have different colors for different items in listbox. Just do
the following.

DEFINE POPUP mypopup ......
DEFINE BAR 1 OF mypopup PROMPT 'One' COLOR RGB(.....)
DEFINE BAR 2 OF mypopup PROMPT 'Two' COLOR RGB(.....)
DEFINE BAR 3 OF mypopup PROMPT 'Three' COLOR RGB(.....)

Thisform.lstmulticolor.recordsourcetype = 9 && Popup
Thisform.lstmulticolor.recordsource = 'mypopup'


Bye
Jayesh
- Jayesh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform