Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to disable some combo list items?
Message
 
 
À
01/06/1998 10:50:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00103598
Message ID:
00103637
Vues:
23
>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform