home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!karl
- From: karl@NeoSoft.com (Karl Lehenbauer)
- Newsgroups: comp.lang.tcl
- Subject: Re: Can <Tab> be used to change focus in forms?
- Message-ID: <Bxx562.B3K@NeoSoft.com>
- Date: 18 Nov 92 15:46:48 GMT
- Article-I.D.: NeoSoft.Bxx562.B3K
- References: <1992Nov18.044237.24882@sinkhole.unf.edu>
- Organization: NeoSoft Communications Services -- (713) 684-5900
- Lines: 18
-
- In article <1992Nov18.044237.24882@sinkhole.unf.edu> shite@sinkhole.unf.edu (Stephen Hite) writes:
- > When creating a dialog using the Tk Toolkit (with wish), is
- >it easy to get the <Tab> key to act as a focus changer so a user
- >could easily go from one field to the next without using the
- >mouse? That is, I'm looking for the functionality you'd get in a dialog
- >with Microsoft Windows.
-
- The bind command lets you associate keystrokes with actions in Tk.
-
- Tk is becoming more and more Motif-like in this area. For instance,
- If you call tk_menus on all of your menu top-levels along with
- Tk_bindForTraversal on your window, you'll get Motif menu keystrokes --
- F10 to pull down, arrow keys to traverse, escape key, ccelerators, etc.
-
- It's all done with procs, demand loaded from (by default) /usr/local/lib/tk.
- --
- -- Email info@NeoSoft.com for info on getting interactive Internet access.
- "Turn on your hot tub by email now. Ask me how."
-