|
Re: Bizarre issue with tab order in a ToolBar [message #481590 is a reply to message #480632] |
Fri, 21 August 2009 16:39 |
Grant Gayed Messages: 2150 Registered: July 2009 |
Senior Member |
|
|
Hi Brian,
I think the (lack of) tabbing behaviour you're seeing is actually correct.
On win32, items in a common toolbar are traversable with the arrow keys,
while Tab is used to tab between controls (eg.- as you've seen, between
separate ToolBars). As always, my advise is to not fight the platform when
possible. This means that, if your tool items conceptually belong in a
common toolbar then put them there. The user will be able to arrow between
the items, and to Tab quickly move out to the next control. Also, the
toolbar will remember the last item that had focus when the user Tabs out
and will set focus there the next time it is traversed.
Grant
"Brian Fitzpatrick" <bfitzpat@redhat.com> wrote in message
news:h6d44d$rrg$1@build.eclipse.org...
> After some help from a nice guy on the #eclipse IRC chat room, I found a
> solution to the problem. It involves basically adding a new ToolBar for
> each individual button. This allows you to tab seamlessly from top to
> bottom and hit all the various buttons.
>
> It's kind of an ugly fix for what should be a default behavior, but
> hey... it works!
>
> Thanks!
> --Fitz
>
|
|
|
Re: Bizarre issue with tab order in a ToolBar [message #481595 is a reply to message #481590] |
Fri, 21 August 2009 17:06 |
Grant Gayed Messages: 2150 Registered: July 2009 |
Senior Member |
|
|
I notice your email address is at Red Hat, so you probably don't care about
the native behaviour on Windows ;-). GTK behaviour is the same, everything
else still holds.
Grant
"Grant Gayed" <grant_gayed@ca.ibm.com> wrote in message
news:h6miki$ffb$1@build.eclipse.org...
> Hi Brian,
>
> I think the (lack of) tabbing behaviour you're seeing is actually correct.
> On win32, items in a common toolbar are traversable with the arrow keys,
> while Tab is used to tab between controls (eg.- as you've seen, between
> separate ToolBars). As always, my advise is to not fight the platform
when
> possible. This means that, if your tool items conceptually belong in a
> common toolbar then put them there. The user will be able to arrow
between
> the items, and to Tab quickly move out to the next control. Also, the
> toolbar will remember the last item that had focus when the user Tabs out
> and will set focus there the next time it is traversed.
>
> Grant
>
>
> "Brian Fitzpatrick" <bfitzpat@redhat.com> wrote in message
> news:h6d44d$rrg$1@build.eclipse.org...
> > After some help from a nice guy on the #eclipse IRC chat room, I found a
> > solution to the problem. It involves basically adding a new ToolBar for
> > each individual button. This allows you to tab seamlessly from top to
> > bottom and hit all the various buttons.
> >
> > It's kind of an ugly fix for what should be a default behavior, but
> > hey... it works!
> >
> > Thanks!
> > --Fitz
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03238 seconds