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

  1. Path: sparky!uunet!nntp1.radiomail.net!fernwood!rtbrain!rightbrain.com
  2. From: glenn@rightbrain.com (Glenn Reid)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Re: Drag&drop of colors in Views - how does -acceptColor:atPoint: work?
  5. Message-ID: <846@rtbrain.rightbrain.com>
  6. Date: 18 Aug 92 03:53:01 GMT
  7. References: <SCOTT.92Aug17092008@nic.gac.edu>
  8. Sender: glenn@rightbrain.com
  9. Reply-To: glenn@rightbrain.com
  10. Lines: 20
  11.  
  12. Scott Hess writes
  13. > So, I implement -acceptColor:atPoint:.  All it does yet is
  14. > printf( "Here I am!\n").  But, when I pop up a color panel, and
  15. > drag a color into the View, nothing happens.  No printf, and later,
  16. > when I add code to do something else, like change the View's color,
  17. > that doesn't happen, either.
  18.  
  19. There's an appkit bug in View that makes acceptColor: not work for flipped
  20. views.
  21.  
  22. If your view is flipped, try it the other way around to see if it
  23. starts to work for you.
  24.  
  25. I have a fix (subclass) somewhere that I can probably send you if
  26. this is indeed the problem.
  27.  
  28. --
  29.  Glenn Reid                NeXTmail: glenn@rightbrain.com
  30.  RightBrain Software        415-326-2974 (NeXTfax 326-2977)
  31.  Palo Alto, California
  32.