Article View: comp.sys.next.programmer
Article #1864Re: emulate alt-drag in IB
From: Gregory H. Anderson
Date: Thu, 19 Nov 1992 16:28
Date: Thu, 19 Nov 1992 16:28
19 lines
1200 bytes
1200 bytes
In article <1992Nov17.062956.11676@monu6.cc.monash.edu.au> ede978e@monu6.cc.monash.edu.au (Robert D. Nicholson) writes: > How does IB decide wether the user can alt-drag on an object to > create a matrix of the selected object? > I think the rule is that it has to be a Control that contains a subclass of ActionCell (which all current Controls do). In other words, ([object isKindOf:[Control class]] && [[object cell] isKindOf:[ActionCell class]]) must return YES. Because IB then initializes a Matrix with the Control's cell as its protoCell. -- Gregory H. Anderson | Thus spake the master programmer: Master Programmer / Manager | "Let the programmers be many and Anderson Financial Systems | the managers few; then all will be greg@afs.com (Nextmail OK) | productive." -- Tao of Programming
Technical Details
Message-ID:
<1992Nov19.162839.417@afs.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!psinntp!afs!gregReferences:
<1992Nov17.062956.11676@monu6.cc.monash.edu.au>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!afs!greg From: greg@afs.com (Gregory H. Anderson) Subject: Re: emulate alt-drag in IB Message-ID: <1992Nov19.162839.417@afs.com> Sender: greg@afs.com Reply-To: greg@afs.com References: <1992Nov17.062956.11676@monu6.cc.monash.edu.au> Date: Thu, 19 Nov 1992 16:28:39 GMT Lines: 19