Re: NSTableView not letting me double-click rows always?
Re: NSTableView not letting me double-click rows always?
- Subject: Re: NSTableView not letting me double-click rows always?
- From: "Theodore H. Smith" <email@hidden>
- Date: Sat, 20 Aug 2005 16:45:25 +0100
When I make the column's [editable] state to be true, I don't get
doubleClick events sent! However, the rows text do get edited, as
expected, as long as the row is editable.
If I set the column's [editable] state to false, I do get
doubleClick events! However, then I can't edit the text by double-
clicking it.
Is there some kind of work around here?
By work around, I meant some kind of graceful work around.
I am sure I can hack up a work around, but it won't be particularly
nice. I'd probably do something like make the column editable, and
return true for "isEditable" for all the cells. But when the cell
gets edited, I check if it's really editable, and if not, then I'll
send a doubleclick event...
Something a bit lame like that I'd probably do. But then I haven't
even tried that approach, maybe there'd be an unexpected problem
there, too.
_______________________________________________
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