Skip navigation.
 
mlRe: Double-click/Return/Enter in NSTableView
FROM : James Bucanek
DATE : Fri Jun 02 20:51:34 2006

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%20Reference%20Library/
>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

Related mailsAuthorDate
mlDouble-click/Return/Enter in NSTableView James Bucanek Jun 2, 19:28
mlRe: Double-click/Return/Enter in NSTableView Nick Zitzmann Jun 2, 20:06
mlRe: Double-click/Return/Enter in NSTableView James Bucanek Jun 2, 20:51
mlRe: Double-click/Return/Enter in NSTableView Brian Stern Jun 2, 20:54