home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!usc!sdd.hp.com!decwrl!deccrl!bloom-beacon!eru.mt.luth.se!lunic!sunic!kth.se!bengtb
- From: bengtb@stacken.kth.se (Bengt Baverman)
- Newsgroups: comp.sys.mac.hypercard
- Subject: Re: Validating Data Entry in a Field
- Message-ID: <1992Aug19.094151.16710@kth.se>
- Date: 19 Aug 92 09:41:51 GMT
- References: <1992Aug18.215256.1379@ncar.ucar.edu>
- Sender: bengtb@alex.stacken.kth.se (Bengt Baverman)
- Organization: Stacken Computer Club, Stockholm, Sweden
- Lines: 16
- Nntp-Posting-Host: alex.stacken.kth.se
-
-
- I think the best way to handle this in Hypercard is to do what the "Valid
- Entry Package" does [this can be found on Apple's Developer CDs]: It assumes
- that the original value in a field is valid and saves this at openField time.
- When the user exits from the field, generating a closeField, the validity of
- the current value is checked. If the value is not valid it is replaced with
- the old, valid, value and the user is alerted.
-
- Check out the Valid Entry Package if you have access to it. It is very well
- written by Chris Thorman, Apple Computer, Inc.
-
- Bengt Baverman
- bengtb@alex.stacken.kth.se
- --
- Bengt Baverman
- bengtb@alex.stacken.kth.se
-