Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Readonly and enabled Textbox?
Message
De
02/01/2004 14:33:27
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00863271
Message ID:
00863516
Vues:
7
Kevin,

Thanks for the tip. Changing the AutoSetEnabled property corrected my problem.

I think a reference to the section "Automatically Disabling and Enabling Controls" should be added to paragraph 11 of “Binding The Order Edit Form Controls”. There it states, to prevent editing in a textbox all that is required is to change the control’s ReadOnly property. Nothing is mentioned about the need to also set the AutoSetEnabled property.

Terry Carroll



>Check out the topic in the MM .NET Developer's Guide "Automatically Disabling and Enabling Controls" in the "Creating Windows Forms Applications" section.
>
>Bottom line, you can turn off this behavior by setting the control's AutoSetEnabled property to false.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform