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