Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting forecolor in disabled textbox
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00892517
Message ID:
00892599
Vues:
15
Hi Neil,

Thanks for your input on this. I realize that I can use readonly on textboxes but will still have the same issue with various other controls.

I saw the topic below in VS Help and thought this might be a way to globally modify/override the textbox control's base class. Played around with it without success.

TextBoxBase.ForeColor Property
public override Color ForeColor {get; set;}

Perhaps Ill quit fighting with the interface, let the controls cruise on default colors, and just put a message on the form to indicate "Editing Active/Inactive". Ive always used gray backcolor/black forecolor to indicate disabled, white backcolor/black forecolor to indicate enabled.

It would be nice if MicroSoft would implement consistent behavior regarding this throughout their control set.

Thanks again,

Todd
The day you take complete responsibly for yourself, the day you stop making any excuses, thats the day you start to the top. - O.J. Simpson

Great advice from a questionable source...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform