Re: setDoubleAction
Re: setDoubleAction
- Subject: Re: setDoubleAction
- From: John Stiles <email@hidden>
- Date: Thu, 11 Aug 2005 18:26:08 -0700
I got the answer off-list--you need to call the following function:
[table setTarget:self];
No clue why it worked in one case and not another! But there you have
it.
On Aug 11, 2005, at 5:43 PM, John Stiles wrote:
I have two NSTableViews; one is in a drawer and the other is in a
sheet. I am calling -setDoubleAction: on both of them, so that it
will be able to accept double-clicks on table items and call my
selector.
For one view, it works perfectly.
For the other view, it just beeps at me no matter where I double-
click inside the table. My selector is never called.
I have tried to make both NSTableViews as close as possible in
every way, and I'm totally stumped as to why one would work and the
other would not.
How could I go about debugging this?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com
This email sent to email@hidden
_______________________________________________
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