Re: NSTextFieldCell in NSMatrix - Selecting vs. Editing
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