Re: DoubleClick in a NSTableView
Re: DoubleClick in a NSTableView
- Subject: Re: DoubleClick in a NSTableView
- From: Mike Vannorsdel <email@hidden>
- Date: Sun, 09 Jun 2002 23:03:40 -0600
Don't forget to set the target too, or the table view won't know who to send
the message to.
[yourTableView setTarget: someObject];
[yourTableView setDoubleAction: @selector (yourDoubleClickAction:)];
On 6/9/02 10:36 PM, "Julian Barkway" <email@hidden> wrote:
>
On Sunday, June 9, 2002, at 11:06 pm, Frank Blome wrote:
>
>
> I need again a nice hint. I would like to catch the double click in a
>
> NSTableView (with one column) to do my own stuff not to edit. After
>
> reading the documentation, I did not found a delegate method for it
>
> (not in NSTableView nor NSCell).
>
>
[yourTableView setDoubleAction: @selector (yourDoubleClickAction:)];
_______________________________________________
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.