setDoubleAction
setDoubleAction
- Subject: setDoubleAction
- From: Brian Weitzner <email@hidden>
- Date: Tue, 22 May 2007 11:30:01 -0400
Hi all,
I am trying to implement a double click response in an
NSTableView that is displayed based on a user's query. I have
isEditable set to NO and the code I have for the double click so far is:
- (void)awakeFromNib
{
[scopTableView setDoubleAction:@selector(scopClicked)];
}
-(void)scopClicked
{
NSLog(@"I got clicked");
}
When I double click the cell in the NSTableView nothing happens. The
tableview is displayed in a window that appears after the user
submits a query (i.e. it is not visible when the app launches) and
the eventual goal of this method is to get the string value of the
cell (the entire row because there is only one column) so it can be
used to perform an additional query. Any help would be most
appreciated. Thanks!
--
Brian Weitzner
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden