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:
00105309
Vues:
46
>>>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
>
>Thanks! Works like a charm. BTW, where did you find this info?

Can't say for sure now, I knew it since VFP3 :), but it was also mentioned on UT several times.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform