Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling a single Listbox item
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00312504
Message ID:
00312521
Vues:
21
Hi Aaron,

You need to prefix the items you want to be disabled with a "\". For example, to disable the first item you could issue:

Thisform.lstMyListBox.list(1) = '\' + Thisform.lstMyListBox.list(1)


>I've seen programs where single items were disabled in a Listbox or Combobox, but can't figure out how to do it. There are DisabledItemBackColor and DisabledItemForeColor properties but I can't find anything else in MSDN.
>
>Does anyone know how to do this?
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform