Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to use TAB key to move focus from text widget?

1 view
Skip to first unread message

Adrian Davis

unread,
Jul 8, 2003, 7:10:25 AM7/8/03
to
I have an application which has a number of entry and text widgets
displayed. I want to be able to use the TAB key to move the keyboard
focus from one widget to the next. This is fine for entries but, of
course, this inserts a TAB character for text widgets.

Is it possible to configure the text widget so that the TAB key moves
the focus to the "next" widget rather than inserting a TAB into the
text, but otherwise behaves as normal.

Many Thanks,
=Adrian=

Bryan Oakley

unread,
Jul 8, 2003, 7:51:48 AM7/8/03
to

Try this:

bind .text <Tab> "[bind all <Tab>];break"
bind .text <Shift-Tab> "[bind all <<PrevWindow>>]; break"

0 new messages