🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
2 messages
2 total messages Started by Robert D. Nicholson Tue, 17 Nov 1992 06:29
emulate alt-drag in IB
#1792
Author: Robert D. Nicholson
Date: Tue, 17 Nov 1992 06:29
2 lines
523 bytes
How does IB decide wether the user can alt-drag on an object to
create a matrix of the selected object?
Re: emulate alt-drag in IB
#1864
Author: Gregory H. Anderson
Date: Thu, 19 Nov 1992 16:28
19 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads