Hi,
I am having trouble with a tab control. All the fields on the form are data
bound and are spread over two tabs of a tab control.
I have placed a Clear button with the code to clear all the fields on the
form.
When I click the Clear button, all the text boxes on the current tab get
cleared. But when I go to the other tab, I see data in all the fields. When
I come back to the previous tab, all the text boxes on this tab are now
filled with data.
After hitting the Clear button, if I click in any of the text boxes before
changing tab, these fields stay clear. But all others get filled with data
again when I come back to the tab.
Any help would be appreciated.
Thanks,
Aparna
Charlie - 26 Oct 2004 09:17 GMT
I have resorted to using my own data binding methods. However, you might try
Me.BindingContext(Datasource).SuspendBinding, and
Me.BindingContext(Datasource).ResumeBinding.
This would assume that the datasources for each Tab are different.
cfarrier@charlesfarriersoftware.com
> Hi,
>
[quoted text clipped - 17 lines]
>
> Aparna