Re: NSCell subclass
Re: NSCell subclass
- Subject: Re: NSCell subclass
- From: "John C. Randolph" <email@hidden>
- Date: Fri, 12 Jul 2002 20:23:49 -0700
On Friday, July 12, 2002, at 07:57 PM, Greg Hulands wrote:
Hi,
I am trying to make an NSCell subclass that contains a text
field cell and a
button cell to the right of the text field.
[snippage]
Question.
Only the button cell seems to display. When trying to click the
button, it
does not respond to the click. Do I need to some how manage the
mouse events
of my cell and the pass them on to each cell within mine?
Yes.
Does anyone know of source code floating around of an NSCell
subclass that
contains two or more other cells?
There isn't one yet in the DTS samples, but it's a good idea.
I take it you want one side of your cell to act as a button, and
the other to be editable as text? Would it have one target
outlet or two?
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.