I've tried changing the tab index of everything else to -1 to remove them
from the tab indexes, what a pain that was. The problem was that in chrome
(I don't know about the other browsers) the address line is in the tab
order, and I couldn't figure out how to remove it.

It also seems silly to have to remove everything else from the tab order,
then when you are not focused on the grid, put them all back into the tab
order.

On Fri, Mar 5, 2010 at 1:04 PM, [email protected] <[email protected]>wrote:

> I think there's a property (html) called tabIndex....
> http://www.w3schools.com/tags/ref_standardattributes.asp
>
> On Mar 5, 12:37 pm, bcr666 <[email protected]> wrote:
> > I have created a TextBox that we'll call txtFocus.
> >
> > An anonymous listener is bound to txtFocus like so:
> >     txtFocus.addKeyDownHandler(new KeyDownHandler() {
> >       public void onKeyDown(KeyDownEvent keyDownEvent) {
> >         if (keyDownEvent.getNativeKeyCode() == KeyCodes.KEY_TAB) {
> >           keyDownEvent.preventDefault();
> >           keyDownEvent.stopPropagation();
> >
> >           moveTxtFocus();
> >         }
> >       }
> >     }
> >
> > My problem is that In IE (I am testing with 8), hitting the "Tab" key
> > moves focus around the screen.
> >
> > When the focus is on the FlexTable, and the user hits the "Tab" key, I
> > want the focused cell to move around just like in a Google Docs
> > spreadsheet.
> >
> > Any ideas on how to accomplish this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 
~~~~~~~~~~~~~~~~
My work here is done!
~~~~~~~~~~~~~~~~

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to