• 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: NSTextFieldCell in NSMatrix - Selecting vs. Editing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextFieldCell in NSMatrix - Selecting vs. Editing


  • Subject: Re: NSTextFieldCell in NSMatrix - Selecting vs. Editing
  • From: Glen Simmons <email@hidden>
  • Date: Wed, 20 Oct 2004 09:06:28 -0500

On 19 Oct, 2004, at 3:36 PM, Stéphane Sudre wrote:


On mardi, octobre 19, 2004, at 10:25 PM, Glen Simmons wrote:

I have an NSTextFieldCell subclass that draws an image in addition to it's string, somewhat similar to the DragNDropOutlineView example, but I'm using it in an NSMatrix subclass. The matrix is set to list mode so that multiple cells can be selected. Everything was working nicely until I made the cells editable so the user could edit the string. Now, editing works, but I can no longer select cells. Are these two operations mutually exclusive? That would be quite inconvenient. Any suggestions for workarounds so that the user can both select cells and edit the cell text?

A NSTableView? :-)

Not quite right for showing thumbnails.

Maybe the "problem" is coming from the fact that acceptsFirstResponder is returning YES when the cell is editable.

I don't understand. Wouldn't it *have* to be firstResponder to be editable?

Thanks,
Glen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: NSTextFieldCell in NSMatrix - Selecting vs. Editing
      • From: stephane sudre <email@hidden>
References: 
 >Re: NSTextFieldCell in NSMatrix - Selecting vs. Editing (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: Xcode not displaying errors/warnings in build window
  • Next by Date: Re: NSTextFieldCell in NSMatrix - Selecting vs. Editing
  • Previous by thread: Re: NSTextFieldCell in NSMatrix - Selecting vs. Editing
  • Next by thread: Re: NSTextFieldCell in NSMatrix - Selecting vs. Editing
  • Index(es):
    • Date
    • Thread