Old habits die hard! I can't get my fingers to stop typing
apostrophes, but geesh, did everyone take a course in word and sentence
structure while I was asleep, cause all of a sudden, and after at least 8
years on this list everyone is suddenly worried about my possessive
pronouns! <g> I could have sworn this was a Delphi list!
In any case, I'm not sure you understood me because I don't know
what you are referring to when you say "invisible controls"! As I said, I'm
not really worried much about the Tab key being able to take the user from
one Frame to another via the TabControl component's Tabs, so for now at
least I turned that ability off. If it becomes a problem for heavy keyboard
users I'll override the method in a descendant and disallow the use of the
Tab key in that particular instance. But it's getting from the last control
on any Frame, all of which are parented by the TabControl to the two buttons
parented by the form that is causing me the problem. Visually, it looks as
if one should be able to continue tabbing from one to the other, but it
doesn't work that way, and perhaps this is something I can fix simply by
making the division between the form and the TabControl a little more
apparent. But two of the ladies in this office have already complained that
they cannot remember to use shift-tab or any other double-key combination,
and their boss agrees so I have to come up with something else.
If I add special handling to perhaps setfocus down to the first
button on the form when the user clicks the tab key from within the last
control of each frame that might do it but that solution just doesn't seem
to sit right with them either because it interrupts the flow as one works
his way through the pages of the wizard.
Taking a look at how Microsoft does it in the Options multi-page
dialog of Winword, this is exactly the way they do it, but when dealing with
a client like this who wants to make his employees happy above anything else
I guess I have little choice but to make it work the way they want it!
from Robert Meek dba Tangentals Design CCopyright 2006
"When I examine myself and my methods of thought, I come to the conclusion
that the gift of Fantasy has meant more to me then my talent for absorbing
positive knowledge!"
Albert Einstein
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Rob Kennedy
Sent: Thursday, February 02, 2006 1:16 AM
To: Borland's Delphi Discussion List
Subject: Re: D2006 and TabStops
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
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi