home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / fj / maillis / xwindow / 18997 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  1.6 KB

  1. Path: sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
  2. From: troberts@zia.aoc.nrao.edu (Timothy Roberts)
  3. Newsgroups: fj.mail-lists.x-window
  4. Subject: How do I skip spaces in an input panel?
  5. Message-ID: <1992Dec31.001609.27002@sm.sony.co.jp>
  6. Date: 31 Dec 92 00:16:09 GMT
  7. Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
  8. Distribution: fj
  9. Organization: National Radio Astronomy Observatory, Socorro NM
  10. Lines: 25
  11. Approved: michael@sm.sony.co.jp
  12.  
  13. Date: 30 Dec 92 19:14:52 GMT
  14. Message-Id: <1992Dec30.191452.4235@zia.aoc.nrao.edu>
  15. Newsgroups: comp.windows.x
  16. Sender: xpert-request@expo.lcs.mit.edu
  17.  
  18. I am using UIT to make a customized alphanumeric input panel.  The
  19. idea is to allow the programmer to assign default values and max/mins
  20. to a certain field with a certain length.  Sketch it?  OK.
  21.  ________________________________
  22. |                                |
  23. |00 00 00.0 RA +00 00 00.000 DEC |  Position
  24. |________________________________|
  25.    ^  ^    ^^^^   ^  ^      ^^^^^
  26.    |  |    ||||   |  |      |||||
  27.    
  28. How do I get the curser to immediately skip over positions like the
  29. ones I have arrowed above?  It is trivial to make it so that the data 
  30. entered in a position gets ignored but I want the user to know for
  31. sure that he/she can't enter input in certain places.  Currently, I 
  32. am simply using xv_set() and xv_get() to pass things around but maybe 
  33. you know a better way?
  34.  
  35. --------------------------------------------------------------------
  36. Timothy P. P. Roberts     troberts@NRAO.edu     505/835-7283
  37. National Radio Astronomy Observatory, P.O. Box 0, Socorro, NM 87801
  38.