Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Color coded list box?
Message
De
03/10/2001 09:09:09
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00563047
Message ID:
00563535
Vues:
40
Hi Vlad

If there is no text, only spaces, its fine. But if you also have a text label then it goes wierd and you need to make the foreground slightly different from background. This can be the difference between 255 and 254. Maybe a bug?

I also changed the click event to display colour bar when user makes a selection. i.e.

*click event of combo box

with this

do case
case .ListIndex = 1 && Black for example
.BackColor = RGB( 0, 0, 0)
.ForeColor = RGB( 0, 0, 0)
case .ListIndex = 2 && Next Colour
..
..
..

endcase

endwith
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform