Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List/Combo Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00105212
Message ID:
00105228
Vues:
39
>Is there a way to disable listbox or combobox elements? I've seen the help files and they specify several DisabledItem.. properties, but I don't see a method or property that will disable an item.
>TIA

Placing "\" in front of item disables it.

say, you have listbox with array as a source,
so if you want to disable 3rd item itn the listbox

IF something
thisform.list1.listItem(3)="\"+ myArray(3)
endif

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform