home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / pascal / 4991 < prev    next >
Encoding:
Internet Message Format  |  1992-08-22  |  923 b 

  1. Path: sparky!uunet!psinntp!bepcp!jnicholson
  2. From: jnicholson@bowker.com (Jim Nicholson)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: TV Focus in Dialog views
  5. Message-ID: <JHLXPB1w164w@bowker.com>
  6. Date: Sat, 22 Aug 92 19:23:18 EDT
  7. References: <10213@vice.ICO.TEK.COM>
  8. Organization: Bowker Electronic Publishing, New Providence NJ
  9. Lines: 15
  10.  
  11. bobb@vice.ICO.TEK.COM (Robert Beauchaine) writes:
  12. >
  13. >   Actually, I solved the problem today.  Catching the change of
  14. >   focus seems to be the correct solution.  The one missing part was
  15. >   to check the value of the COMMAND parameter passed into the input
  16. >   number's valid() function.  If COMMAND = cmCancel, don't do the
  17. >   validation.  Pretty simple, but it gave me fits!
  18. >
  19.  
  20. Could you post the source?  I'd be really interested in seeing how you did
  21. this, as I've been doing it the "HandleEvent" way, and I suspect there's less
  22. of a performance penalty with your method.
  23.  
  24. - Jim
  25.  
  26.