home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14020 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  1.8 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!Sirius.dfn.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!stepsun.uni-kl.de!oinone.kit.uni-kl.de!sold
  2. From: sold@kit.uni-kl.de (Christoph Sold)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Dialog box TEdit character trapping.
  5. Message-ID: <sold.53.713824293@kit.uni-kl.de>
  6. Date: 14 Aug 92 20:31:33 GMT
  7. References: <46293@shamash.cdc.com>
  8. Sender: news@rhrk.uni-kl.de
  9. Organization: Universitaet Kaiserslautern
  10. Lines: 35
  11.  
  12. In article <46293@shamash.cdc.com> ldh@svl.cdc.com (Lawrence D. Hare) writes:
  13. >Subject: Dialog box TEdit character trapping.
  14. >From: ldh@svl.cdc.com (Lawrence D. Hare)
  15. >Date: 10 Aug 92 21:38:58 GMT
  16. >Given a dialog box which contains, amongst other stuff, a TextEdit item,
  17. >how can I trap characters typed by the user while under the enspiring
  18. >auspices of the dialog manager?
  19. >
  20. >The application here is the age old one of password entry. Given that
  21. >there is no password on file, throw up a dialog requesting one.
  22. >Characters typed by the user are displayed with a blob for security.
  23. >The actual character is retained by the application for use as the
  24. >password.
  25. >
  26. >I can see doing this with TextEdit, but I would like to use the
  27. >simplicity of the dialog manager. Any ideas as to how this can be done?
  28. >
  29. >--
  30. >Lawrence D. Hare       Control Data - Silicon Valley Operations
  31. >Consultant             Voice: (408) 496 4339 - C/N [234] 4339
  32. >ldh@svl.cdc.com        Mail: SVLa60  FAX: (408) 496-4106
  33.  
  34. Lawrence,
  35.  
  36. check Inside Macintosh, every chapter of Dialog Manager, and guess what? 
  37. there is a filter function for ModalDialog. That's easy, huh?
  38.  
  39. -Christoph
  40.  
  41. Christoph P. Sold                   CATS Software GmbH
  42.                                     Mussbacher Landstr.2
  43.                                     W-6730 Neustadt (Weinstrasse)
  44. ger.xse0035@applelink.apple.com     Germany
  45.  
  46. "If an apple is fun, what the heck is an appletree?"
  47.