Article View: comp.sys.next.programmer
Article #1201Re: Drag&drop of colors in Views - how does -acceptColor:atPoint: work?
From: Glenn Reid
Date: Tue, 18 Aug 1992 03:53
Date: Tue, 18 Aug 1992 03:53
20 lines
1165 bytes
1165 bytes
Scott Hess writes > So, I implement -acceptColor:atPoint:. All it does yet is > printf( "Here I am!\n"). But, when I pop up a color panel, and > drag a color into the View, nothing happens. No printf, and later, > when I add code to do something else, like change the View's color, > that doesn't happen, either. There's an appkit bug in View that makes acceptColor: not work for flipped views. If your view is flipped, try it the other way around to see if it starts to work for you. I have a fix (subclass) somewhere that I can probably send you if this is indeed the problem. -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California
Technical Details
Message-ID:
<846@rtbrain.rightbrain.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!nntp1.radiomail.net!fernwood!rtbrain!rightbrain.comReferences:
<SCOTT.92Aug17092008@nic.gac.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!nntp1.radiomail.net!fernwood!rtbrain!rightbrain.com From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: Drag&drop of colors in Views - how does -acceptColor:atPoint: work? Message-ID: <846@rtbrain.rightbrain.com> Date: 18 Aug 92 03:53:01 GMT References: <SCOTT.92Aug17092008@nic.gac.edu> Sender: glenn@rightbrain.com Reply-To: glenn@rightbrain.com Lines: 20