Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Re: Bizarre issue with tab order in a ToolBar
Re: Bizarre issue with tab order in a ToolBar [message #480632] Mon, 17 August 2009 22:36 Go to next message
Eclipse UserFriend
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 #481590 is a reply to message #480632] Fri, 21 August 2009 12:39 Go to previous messageGo to next message
Eclipse UserFriend
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 13:06 Go to previous message
Eclipse UserFriend
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
> >
>
>
Previous Topic:tabs are not drawn
Next Topic:Horizontal bar in views (see attached image)
Goto Forum:
  


Current Time: Wed Jul 02 23:29:45 EDT 2025

Powered by FUDForum. Page generated in 0.26320 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top