Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable ComboBox Item
Message
 
À
12/05/2008 19:06:41
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01316515
Message ID:
01316532
Vues:
15
>>>In VFP, we could disable items in a ComboBox (by prefacing the text with a "\").
>>>
>>>Anybody know how/if I can do this in .NET? I'm talking about WinForm Combos, not ASP.NET.
>>>
>>>I've been Googling for answers and so far have not come up with anything. Any ideas?
>>>
>>>TIA,
>>>~~Bonnie
>>
>>
>>WOW! Bonnie doesn't have the answer??? I'm shocked!.

>
>Ha Ha Ha ... funny guy! You're sure a lot of help! <g>
>
>~~Bonnie

Ok, you're right.

How about:
combo.Items[1].Enabled = false;
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform