Mondeo Posted July 10, 2007 Posted July 10, 2007 I've got a tabcontrol within a tabcontrol, it has 4 tabs which all contain controls that i'm databinding to, for example chkLive.Databindings.Add("checked",currentVehicle,"isLive") This all works fine apart from the databinding doesn't seem to happen until you click on each individual tab. I have a button to do something based on the value of one of the databound checkboxes, but its value is always false unless I click on that individual tab first, in which case it changes to true. I've tried this to solve the problem ' workaround for databinding to child tabs bug For Each tab As TabPage In tabControlMarketingDetails.TabPages tabControlMarketingDetails.SelectTab(tab) Next tabControlMarketingDetails.SelectTab(0) But its still the same. Whats the best way around this? Thanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.