Re: NSTableView setDoubleAction:
Re: NSTableView setDoubleAction:
- Subject: Re: NSTableView setDoubleAction:
- From: April Gendill <email@hidden>
- Date: Wed, 24 Mar 2004 11:04:39 -0700
Thank you one and all for the replies and help.
I don't know what I did originally that caused the problem. I had
tossed the build directory three times and built it again with no luck.
I did that because for some reason my copy of XCode doesn't like to
recompile the classes I've changed. I really should just go back to PB
I think Apple was joking when it released XCode.
Anyway. the point. I do not know why this made a difference because I
would have assumed it was a default, and I saw no mention of needing to
set it in the docs but hey that doesn't mean anything. Anyway I added
[projectTable setIgnoresMultiClick:NO]; above the other calls and after
restarting the computer and rebuilding the program, much to my absolute
shock, it worked.
April
On Mar 23, 2004, at 11:18 PM, April Gendill wrote:
yeah in awakeFromNib is did set the target
On Mar 23, 2004, at 10:42 PM, mmalcolm crawford wrote:
On Mar 23, 2004, at 8:50 PM, April Gendill wrote:
Ok, what's the real command to cause a table to perform a function
when an item is double clicked.
In IB I made sure the table column in question (in a 1 column table)
was not editable as prescribed by developer.apple.com and then in my
awakeFromNib method I inserted [projectTable
setDoubleAction:@selector(openSelection:)]; when double clicking
anything in the table I get nothing. I added an NSLog(@"Called"); to
my -(IBAction)openSelection:(id)sender method and when I double
click an item in the table still nothing happens. No "Called" prints
to the console.
Have you set the target?
mmalc
_______________________________________________
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.
_______________________________________________
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.