Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to disable an item in a Combo Box
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00660510
Message ID:
00660831
Vues:
14
I do this all the time with an array as the list source. As a matter of fact, it seems to pretty much work universally. I don't know what it would do with a query or cursor as the list source however.



>this does only work, if you're populating the list manually with the AddItem methods.
>
>Armin
>
>
>>The help text says for Combo Box says:
>>
>>"An item in a ComboBox control can be disabled by placing a backslash (\) before the item. If the item begins with a backslash and should not be disabled, add an additional backslash."
>>
>>I put a backslash before the items I wanted to be disabled and all I got were items with backslashes displayed as the first character. None of the items were disabled.
>>
>>How do I disable items in a combo box?
>>
>>Thanks in advance.
Cy Welch
Senior Programmer/Analyst
MetSYS Inc
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform