Re: Double-click/Return/Enter in NSTableView
Re: Double-click/Return/Enter in NSTableView
- Subject: Re: Double-click/Return/Enter in NSTableView
- From: James Bucanek <email@hidden>
- Date: Fri, 2 Jun 2006 11:51:34 -0700
Nick Zitzmann wrote on Friday, June 2, 2006:
>
>On Jun 2, 2006, at 11:28 AM, James Bucanek wrote:
>
>> Is there some functionality in NSTableView/NSControl that will do
>> this, or do I just override mouseDown: and keyDown: and look for
>> the events I'm interested in?
>
>For the mouse: <file:///Developer/ADC Reference Library/
>documentation/Cocoa/Reference/ApplicationKit/Classes/
>NSTableView_Class/Reference/Reference.html#//apple_ref/occ/instm/
>NSTableView/setDoubleAction:>
I found that about half hour after I sent the message. So I guess I set this programmatically when I load my NIB.
>For the keyboard, you'll have to subclass.
Understood.
Thanks,
James
--
James Bucanek
_______________________________________________
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