[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag in NSTableView won't trigger the selection

From: Adam Fedor
Subject: Re: Drag in NSTableView won't trigger the selection
Date: Wed, 06 Nov 2002 13:05:03 -0700
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.1) Gecko/20020905


Yen-Ju Chen wrote:

 In NSTableView, the selecting row is triggered by NSLeftMouseUp.
 But when user try to drag rows, because there is no NSLeftMouseUp,
 the clicked row won't be selected.
 Therefore, other rows (if any) will be dragged except the row
 which the user click.

 In order to drag a row, user has to be
 1. select a row (MouseDown and MouseUp).
 2. click a row (MouseDown) and drag.

 If there is only a row selected,
 it will be funny because user always drag the previous selected row,
 not the clicked (only MouseDown) row he expected.

 Sorry not offering a patch because the source code is very complicated.

Adam Fedor, Digital Optics Corp.      | I'm glad I hate spinach, because
http://www.doc.com                    | if I didn't, I'd eat it, and you
                                      | know how I hate the stuff.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]