Information générale
Catégorie:
The Mere Mortals .NET Framework
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement