Re: NSTableView - double click
Re: NSTableView - double click
- Subject: Re: NSTableView - double click
- From: Tito Ciuro <email@hidden>
- Date: Thu, 23 Jan 2003 15:22:24 +0100
On Thursday, January 23, 2003, at 03:00 PM, Colin Jackson wrote:
>
I have asked this before but the post kind of got lost.
>
>
How do I detect a double click on an item in a TableView?
Use the following NSTableView method: - (void) setDoubleAction: (SEL)
aSelector
For example:
NSTableView* myTableView...
[myTableView setDoubleAction: @selector(doubleAction:)];
[myTableView setTarget: self];
- (void)doubleAction:(id)sender
{
NSLog(@"Double click was detected...");
}
I hope this helps,
-- Tito
_______________________________________________
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.