Re: NSTextFieldCell in NSMatrix - Selecting vs. Editing
Re: NSTextFieldCell in NSMatrix - Selecting vs. Editing
- Subject: Re: NSTextFieldCell in NSMatrix - Selecting vs. Editing
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 19 Oct 2004 22:36:19 +0200
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? :-)
Maybe the "problem" is coming from the fact that acceptsFirstResponder
is returning YES when the cell is editable.
_______________________________________________
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