Re: Special behavior when double-click NSTableView cell
Re: Special behavior when double-click NSTableView cell
- Subject: Re: Special behavior when double-click NSTableView cell
- From: Ryan Stevens <email@hidden>
- Date: Wed, 18 Feb 2004 10:53:21 -0800
- (BOOL)tableView:(NSTableView *)aTableView
shouldEditTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex
{
// do your action
return YES;
}
On Feb 18, 2004, at 9:02 AM, Ivan Myrvold wrote:
No, I don't want this behavior. This is the behavior when setting
editable to NO. I want this:
1. I want to click on a cell, and select that cell (like in Excel). I
don't want to have the whole row selected.
2. I want to double-click a cell (not a row), and have an action
started.
Ivan
Pe 18. feb. 2004 kl. 16.36 skrev Laurent Daudelin:
On 18/02/04 09:55, "Ivan Myrvold" <email@hidden> wrote:
I want an NSTableView to have a special behaviour when I
double-click a
cell, i.e. I want it to select the cell (editable is set to YES), as
it
does now, but also to start an action. This will give the user the
feedback that he is starting the action (opening a sheet) based on
the
information in the cell. Do anyone have a hint to how I could make
this
happen?
Start with the 'doubleAction' method.
-Laurent.
--
======================================================================
==
Laurent Daudelin Developer, Multifamily, ESO, Fannie
Mae
mailto:email@hidden Washington, DC,
USA
************************ Usual disclaimers apply
***********************
_______________________________________________
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.
Ivan C Myrvold
OrtopediService AS
Mob. 913 16 356
Tlf. 38 14 45 93
_______________________________________________
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.