PDA

Click to See Complete Forum and Search --> : Tab to Next Control!


Phil.Hebert
Jan 28th, 2000, 01:32 PM
I have a SSTab control with 8 tabs. How do I advance to the next control useing the Tab key? I want it to stay on the same tab and when it gets to the last control in the tab, it goes back to the first control and not the control on the NEXT tab!

chrisjk
Jan 29th, 2000, 02:42 AM
You could trap the TAB keystroke at form level, and if the previous control was the last control on the tab you could advance the tab instead

SSTab1.Tab = ?

Better still, you could check out this tip (http://www.vbsquare.com/tips/tip342.html) and use it on the last control on the first tab. So when the user TABs again, use above example to move the tab. Easy!

Might work...

------------------
- Chris
chris.kilhams@btinternet.com
If it ain't broke - don't fix it :)


[This message has been edited by chrisjk (edited 01-29-2000).]

Jan 29th, 2000, 11:35 AM
when the sstab has focus, press the left/right arrow keys!

------------------
Wossname,
Email me: wossnamex@talk21.com :)
www.dreamwater.com/tech/wossname/ (http://www.dreamwater.com/tech/wossname/)

Phil.Hebert
Jan 29th, 2000, 01:59 PM
How do I trap the Tab Key in the form level?

chrisjk
Jan 29th, 2000, 10:10 PM
Sorry - I just tried my suggestion and it don't work too well. Check out the tip I linked to previously, and see if you can make something of that.

sorry, i'm suffering from chronic denseness at the moment :)

Good luck!

[This message has been edited by chrisjk (edited 01-30-2000).]