Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SelectedItemForecolor
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00429332
Message ID:
00429388
Vues:
18
>I want to change the color of a listbox item if a user right clicks that item. "Listbox.SelectedItemForecolor" doesn't work because it sets the forecolor for every item that becomes selected, whether or not the user right-clicks it.

If you mean a multiselct listbox that it is not possible i think
But if you only may select one file you can set the selecteditemforecolor in the rightclick method to the other color and reset it in the click or lostfocus event.
Otherwise (multiselect) i think you need a grid here
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform