doubleAction problems
doubleAction problems
- Subject: doubleAction problems
- From: Danny Swarzman <email@hidden>
- Date: Sat, 11 Dec 2004 16:39:50 -0800
I have a NSTableView, MessageList.
In awakeFromNib I have:
[MessageList setDoubleAction:@selector(DoubleClickInMessageList)];
as well as:
NSTableColumn *adressColumn = [MessageList tableColumnWithIdentifier:@"Address"];
[adressColumn setEditable:NO];
NSTableColumn *subjectColumn = [MessageList tableColumnWithIdentifier:@"Subject"];
[adressColumn setEditable:NO];
NSTableColumn *dateColumn = [MessageList tableColumnWithIdentifier:@"Date"];
[adressColumn setEditable:NO];
and the method in the target is:
- (id)sender
But that method isn't called.
In my regular click method, I have:
NSTableColumn *adressColumn = [MessageList tableColumnWithIdentifier:@"Address"];
if ( [adressColumn isEditable] )
[self Bugln:@"Address is editable"];
else
[self Bugln:@"Address is not editable"];
Where
Bugln is my method to display a message in the window.
I verify that the column is supposed to be not editable.
Any ideas?
-Danny
_______________________________________________
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