home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / 20637 < prev    next >
Encoding:
Text File  |  1992-12-30  |  1.4 KB  |  32 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!agate!spool.mu.edu!umn.edu!lynx!zia.aoc.nrao.edu!troberts
  3. From: troberts@zia.aoc.nrao.edu (Timothy Roberts)
  4. Subject: How do I skip spaces in an input panel?
  5. Message-ID: <1992Dec30.191452.4235@zia.aoc.nrao.edu>
  6. Keywords: UIT, fields, blank space 
  7. Organization: National Radio Astronomy Observatory, Socorro NM
  8. Distribution: world 
  9. Date: Wed, 30 Dec 92 19:14:52 GMT
  10. Lines: 20
  11.  
  12. I am using UIT to make a customized alphanumeric input panel.  The
  13. idea is to allow the programmer to assign default values and max/mins
  14. to a certain field with a certain length.  Sketch it?  OK.
  15.  ________________________________
  16. |                                |
  17. |00 00 00.0 RA +00 00 00.000 DEC |  Position
  18. |________________________________|
  19.    ^  ^    ^^^^   ^  ^      ^^^^^
  20.    |  |    ||||   |  |      |||||
  21.    
  22. How do I get the curser to immediately skip over positions like the
  23. ones I have arrowed above?  It is trivial to make it so that the data 
  24. entered in a position gets ignored but I want the user to know for
  25. sure that he/she can't enter input in certain places.  Currently, I 
  26. am simply using xv_set() and xv_get() to pass things around but maybe 
  27. you know a better way?
  28.  
  29. --------------------------------------------------------------------
  30. Timothy P. P. Roberts     troberts@NRAO.edu     505/835-7283
  31. National Radio Astronomy Observatory, P.O. Box 0, Socorro, NM 87801
  32.