
Tabbing through controls on a tab control
Adding to Ken, this is the normal functionality of the tab controls. You
can tab through the current tab only. I hate this as well but??? Check out
Ken's Reference
--
Richard Wittmann
Senior Applications Developer/Team Lead
Financial Information Network
Quote:
> There's nothing built in that allows this.. but, I have a sample that
shows
> one way of doing it... handles Tab as well as Shift-Tab
> Automatically Switch Tabs (SSTab)
> http://www.vbsight.com/Code.htm
> --
> Ken Halter - MS-MVP-VB - Please keep it in the groups..
> http://www.vbsight.com - http://www.vbsight.com/MultiColumn.htm
> > Did some searching, but haven't found anything yet....
> > I have a SSTab Control with 4 tabs on it. Each tab has about 20
> > controls on it (text boxes, combo boxes, etc). I set the tabindex of
> > each control and would expect "tabbing" to work in the order I
> > assigned. My last control on tab0 has a tabindex of 19, the forst
> > control on tab1 has a tabindex of 20. When tabbing through the
> > controls, i would expect that the user would be taken from the last
> > control on tab0 to the first control of tab1. This is not the case
> > though.
> > I even put code into the GotFocus event of the first control of tab1
> > and set SSTab.Tab=1, but that doesn;t work either. The Got Focus
> > event doesn;t even fire when leaving the last control on tab0.
> > Basically, I just want the user to automatically go to the next tab
> > when tabbing out of the last control on a tab.
> > What am I missing? And did I use the word "tab" enough?
> > Thanks,
> > -David