home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.hypercard
- Path: sparky!uunet!sun-barr!cs.utexas.edu!asuvax!ncar!ncar.ucar.edu!hpoppe
- From: hpoppe@ncar.ucar.edu (Herb Poppe)
- Subject: Validating Data Entry in a Field
- Message-ID: <1992Aug18.202825.24625@ncar.ucar.edu>
- Sender: news@ncar.ucar.edu (USENET Maintenance)
- Organization: National Center for Atmospheric Research
- Date: Tue, 18 Aug 1992 20:28:25 GMT
- Lines: 11
-
- I need to ensure that a user correctly enters data into a field. I want
- the selection point to remain in the field until a correct value is
- entered. HyperTalk allows me to trap user attempts to "esacpe" the field
- by typing TAB or RETURN or ENTER. However, I see no convenient way to trap
- the user's clicking a button, in another field, or in the card, thus
- leaving an invalid value left in the field. Have a missed an obvious (or
- not so obvious) approach to this issue?
-
- Herb Poppe National Center for Atmospheric Research (NCAR)
- hpoppe@ncar.ucar.edu 1850 Table Mesa Dr.
- (303) 497-1296 Boulder, CO 80303
-