Follow up: setDoubleAction: for NSTableView
Follow up: setDoubleAction: for NSTableView
- Subject: Follow up: setDoubleAction: for NSTableView
- From: Jason Brown <email@hidden>
- Date: Fri, 22 Jun 2001 21:26:23 -0500
Some more info for anyone thinking about this:
The cells on the table being double clicked on are not editable.
In IB, the target is set to my single click method.
The following lines of code is in the - init for the controller class:
[masterTableView setTarget:self];
[masterTableView setDoubleAction:@selector(handleTVDoubleClick:)];
Have tried all variations of above, including setIgnoreMultiClick:NO
I did put some NSLog messages in to see which, if any, methods were
being called.
When I had no double action set, and it was targeted at the single
click method in IB, the double clicks were coming through as 2 single
clicks. Every time I did a double click, the single click would get
called twice.
All click handline methods are implemented in the controller object.
Am I just not putting these calls in the right place, or the right
order? Any suggestions are very welcome. Thanks for what has come
through so far.
Jason Brown
Vital Source Technologies
--