Re: Double click in NSTableView
Re: Double click in NSTableView
- Subject: Re: Double click in NSTableView
- From: Mike Ferris <email@hidden>
- Date: Thu, 12 Dec 2002 09:45:35 -0800
Ondra's answer on that thread is close to how Project Builder does this.
It is worth remembering that it is a UI guidelines that a double-click
ought to be an extension of the single-click and that, therefore, the
single-click action should take place before the double-click action
(or at least it should not matter if it does).
You should think about your situation before defeating this. PB's case
makes a certain amount of sense. The row is selected on the first
click, so it is not totally defeating the click behavior, and the
behavior, while it breaks that UI guideline, makes sense in other ways
(double-clicking often spawning new windows, parallels with Mail's ToC
behavior, etc...)
Another example, from old NeXTStep of a case where this guideline
(which was also a NeXT UI guideline) was broken on purpose was the
"shelf" in the old Workspace (ie Finder). When you clicked an item in
the shelf, it would focus the window on that file or folder, but if you
double-clicked it would launch. Since it was often desirable to launch
a file without changing the focus of the window, the same sort of
delayed perform, wait to see if it's going to be a double-click type of
thing was done there as well...
Mike Ferris
Begin forwarded message:
From: Eric Wang <email@hidden>
Date: Thu Dec 12, 2002 8:09:55 AM US/Pacific
To: <email@hidden>
Subject: Re: Double click in NSTableView
I realize I probably should've done a more thorough search of the
archives
prior to posting. A search for "double action" didn't turn up
anything, but
a search for "double click" did. This thread answers my question
regarding
double-click actions in table views:
http://cocoa.mamasam.com/COCOADEV/2002/08/1/41769.php
Thanks for the replies.
Eric Wang
_______________________________________________
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.