Re: DoubleClick in a NSTableView
Re: DoubleClick in a NSTableView
- Subject: Re: DoubleClick in a NSTableView
- From: Bill Cheeseman <email@hidden>
- Date: Mon, 10 Jun 2002 08:40:05 -0400
on 02-06-10 8:15 AM, Frank Blome at email@hidden wrote:
>
> And, just to be sure we're on the same wavelength: For a double-click on
>
> a
>
> noneditable cell to work, the cell must have its "Editable" option
>
> unchecked
>
> using Interface Builder (or the equivalent Cocoa method).
>
>
Also, agree. I have tried even both (via IB and via coding).
>
>
> It works for me.
>
>
But not for me :-(
I should have said that the table column's, not the cell's, Editable option
must be unchecked. To do that, you have to double-click the column header in
Interface Builder until the Info Panel for NSTableColumn appears.
Since double-click actions do work, there must be some little detail in your
code that isn't set up correctly. To get to the bottom of it, you could try
showing us the key portions of your code. Not too much; just the portions,
for example, of you awakeFromNib method (or whatever) where you set up the
double-click action, and the double-click method itself.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
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.