home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / hypercar / 3140 < prev    next >
Encoding:
Text File  |  1992-08-18  |  1.3 KB  |  31 lines

  1. Newsgroups: comp.sys.mac.hypercard
  2. Path: sparky!uunet!gumby!destroyer!ncar!stout.atd.ucar.edu!urban
  3. From: urban@stout.atd.ucar.edu (Art Urban (PROFS))
  4. Subject: Re: Validating Data Entry in a Field
  5. Message-ID: <1992Aug18.203434.25218@ncar.ucar.edu>
  6. Sender: urban@stout.atd.ucar.edu 
  7. Organization: Atmospheric Technology Division/NCAR Boulder, CO
  8. References: <1992Aug18.202825.24625@ncar.ucar.edu>
  9. Date: Tue, 18 Aug 1992 20:34:34 GMT
  10. Lines: 19
  11.  
  12. In article <1992Aug18.202825.24625@ncar.ucar.edu> hpoppe@ncar.ucar.edu (Herb Poppe) writes:
  13. %by typing TAB or RETURN or ENTER. However, I see no convenient way to trap 
  14. %the user's clicking a button, in another field, or in the card, thus 
  15. %leaving an invalid value left in the field. Have a missed an obvious (or 
  16. %not so obvious) approach to this issue?
  17. %Herb Poppe                 National Center for Atmospheric Research (NCAR)
  18.  
  19. If I'm not mistaken (I haven't tried this) the exitField handler does what
  20. you want. It is called every time the cursor leaves the field, *even* if
  21. the the field data is unchanged.
  22.  
  23. Hope this helps!
  24.  
  25.  
  26. --
  27. Art Urban                            urban@stout.atd.ucar.edu
  28. ===============================================================================
  29.  "What's Next? Chasing bunnies on a motorbike until their hearts explode? -Crow
  30. ===============================================================================
  31.