For those of you that have docked windows tabs and your trying to programatically set the active tab, I have converted some c# code that I found in the forum to a generic routine that will help.
The attached VB.NET Code module has a generic sub routine to do the following things:
1. Determining if a control passed in as a parameter is part of a tab group.
2. Determining if the control is the currently selected tab
3. If it is not, the routine will make it the selected tab.
To use it, Pass an instance of the control and the routine does the rest. It seems to be working well (so far). I offer it without a warranty.