Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disable some combo list items?
Message
From
01/06/1998 11:36:28
 
 
To
01/06/1998 10:50:05
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00103598
Message ID:
00103637
Views:
24
>>>>I am using the rowsourcetype "6-Fields" instead the "5-Array". Does anybody know how can I disable the combo list item?
>>>>
>>>>
>>>>Thanks, Tai Fei Pao
>>>
>>>You can disable items for rowsourcetype=0 (None) adding them with '\' as first character:
>>>This.Additem("\disabled")
>>
>>
>>Thanks, but I still have problem. I want to load the ComboBox from the table but I would like disable some of the list items (show the value with disbale color). Is it anyay to do it?
>>
>>
>>Thanks, Tai Fei Pao
>
>As I told you, the way is to fill the combo programmatically, or you have to invent something complicated (e.g. textbox+button opening grid).


Thanks again, I have another problem. I want to display this combo with two columns. Do I support use ADDLISTITEM or ADDITEM. Can you show me the code to load two columns.

Thanks, Tai Fei Pao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform