home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / hypercar / 4096 < prev    next >
Encoding:
Text File  |  1992-11-06  |  1.4 KB  |  32 lines

  1. Newsgroups: comp.sys.mac.hypercard
  2. Path: sparky!uunet!comp.vuw.ac.nz!canterbury.ac.nz!cantva!clas005
  3. From: clas005@csc.canterbury.ac.nz
  4. Subject: Re: How to get rid of the clicktext
  5. Message-ID: <1992Nov6.104053.1@csc.canterbury.ac.nz>
  6. Nntp-Posting-Host: cantva.canterbury.ac.nz
  7. Organization: University of Canterbury, Christchurch, New Zealand
  8. References: <4NOV199220221807@oregon.uoregon.edu>
  9. Date: Thu, 5 Nov 1992 21:40:53 GMT
  10. Lines: 20
  11.  
  12. In article <4NOV199220221807@oregon.uoregon.edu>, 
  13. derthanq@oregon.uoregon.edu (Victor Der-Thanq Chen) writes:
  14. > I am doing something using the clicktext in a field.  In the openfield handler
  15. > I check the value of the clicktext.  If it is empty, do nothing, otherwise do
  16. > something.
  17. > The problem I have is that when the sencond pass of using the clicktext, even
  18. > thoug I do not click on anything, the clicktext still returns the previously
  19. > clicked text.
  20.  
  21. It is absolutely true that the value The ClickText is persistent. 
  22. But this just means you probably should not check that way. A mouseUp handler 
  23. will have the virtue that it won't be called unless there was, at 
  24. least, a click. Then, if the click was on a word, there will be 
  25. clickText; if not, the clickText will be empty. Your difficulty 
  26. is caused by the fact that you are checking in an openField 
  27. handler.
  28.  
  29. If you *must* do it the way you are doing, use "click at the loc 
  30. of me" to clear the ClickText. -- matt
  31.