Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disable an item in a Combo Box
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00660510
Message ID:
00660831
Views:
13
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform