home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / tcl / 1872 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  1.4 KB

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