Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabled listbox
Message
 
À
09/02/2001 09:23:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00474411
Message ID:
00474429
Vues:
22
IN addition to what Michael suggested, you can also have listbox enabled and conditionally "return .f." in the "When" method.

>>>>>>>>>>>>>>>> your message below
When I disable a list box, I cannot identify the selected item. I've tried changing the disabledforecolor and disableditemforecolor with no success. All of the items in the list look the same (dark grey on white background). I also tried returning .f. in the when event instead of setting the listbox.enabled = .f., but that didn't totally work either. I was still able to access the control's events if I click and hold the mouse down over the list. What is the best way to disable a list so you can still see the selected item?

Tim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform