Robert Meek wrote: > You probably already guessed my problem. If I start on the first > Tab of the Tabcontrol...Frame 1...and it's first control with a tabstop of > 0, then tab down thru each control to the last one on that frame which has a > tabstop of 3, how can I then make the next click of the tab key > automatically set the TabControl to it's 2nd Tab thus exposing Frame 2?
Can you point to some other program that works that way? That's certainly not the way I would expect the navigation to go. Over the years that I've been using computers, I've learned that the Tab key sends the focus to the enxt visible control. It doesn't cause invisible controls to appear. The keyboard command for changing from one tab to another is Ctrl+Tab. It's anaologous to Alt+Tab for switching to a different window. If your users want a way of getting from one tab to another, teach them Ctrl+Tab so they can use that knowledge in all the other programs they have, too. Another way that tab controls already work is that when the control itself has the focus, you can use the arrow keys to go from page to page. One you're on the page you want, Tab should go to the first control on the page. > After trying a number of things it has become obvious that there > really isn't anyway of accomplishing exactly what I would like, I suspect there really is. After all, all those controls are already handling the Tab key so send focus to the next or previous controls. You could subclass the first and last controls of each frame to make them do different things for Tab and Shift+Tab. Look around for one of the many "enter to tab" solutions for making the Enter key act like the Tab key. I'm sure the solution to your issue will be similar. By the way, "it's" is a contraction for "it is." The possessive form of "it" is "its." (It goes with the all other possessive pronouns, which also lack apostrophes: his, hers, ours, theirs, yours, mine.) -- Rob _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

