• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSCell subclass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >NSCell subclass (From: Greg Hulands <email@hidden>)

  • Prev by Date: Re: GNUStep Help
  • Next by Date: Re: creating sth like "System Preferences"
  • Previous by thread: NSCell subclass
  • Next by thread: Stupid question -- where is objc.h?
  • Index(es):
    • Date
    • Thread