Unanswered: Tab control changing pages as its controls are disabled
I've got a tab control with 3 pages, each showing bound grids and text boxes. These controls are disabled depending on which record I'm looking at (the tab control is not disabled though, because the user still has read only access to the record).
The problem is that if I'm looking at the third page and then change records to one which causes the controls to be disabled, the controls on the first tab are displayed, but the third tab is still the top one ie the third tab is still at the front but showing the first page, not the third page.
I've tried having a control on each tab which never gets disabled and disabling the controls in different orders, but I cant find a solution.
Download for FREE the ADO/DAO Data Controls that makes life EASIER developing database applications in: VB, FoxPro, Access, VC++, .NET etc... Navigate, Add New, Delete, Update, Search, Undo and Save your changes. Supports Disconnected Recordsets and Transactions!
Or try our Ask An Expert service to answer any of your questions!
The last suggestion posted works... but only with standard controls. The problem is with the grid I'm using, its a freeware enhanced flex grid I downloaded of the web, and the problem only occurs when I'm using this particular control. So now I'm using a different one and everything is OK.