G
Guest
I have several controls that I want to bind to properties in a class. The code I use to bind is:
txtAddressLine1.DataBindings.Add(New Binding("text", ebtrPlanDetails, "CompanyAddress1"))
Whenever I change the text of the textbox, and try to navigate to another control on the form, it doesn't work. The cursor stays on the text box. Tracing what happens, I see that as soon as I click on another control, the 'Set' property of CompanyAddress1 is called, and that is it.
Any idea what is going on?
Eric
txtAddressLine1.DataBindings.Add(New Binding("text", ebtrPlanDetails, "CompanyAddress1"))
Whenever I change the text of the textbox, and try to navigate to another control on the form, it doesn't work. The cursor stays on the text box. Tracing what happens, I see that as soon as I click on another control, the 'Set' property of CompanyAddress1 is called, and that is it.
Any idea what is going on?
Eric