lmi
[Top][All Lists]
Advanced

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

[lmi] selected and focused items in the list control (bug 19858)


From: Vadim Zeitlin
Subject: [lmi] selected and focused items in the list control (bug 19858)
Date: Wed, 16 May 2007 13:43:58 +0200

On Tue, 15 May 2007 23:26:53 +0000 Greg Chicares <address@hidden> wrote:

GC> On the other hand, start with the same situation as above, and
GC> further assume that the user takes some action that causes focus
GC> to be lost: zero items are focused, though three remain selected.

 I don't believe the user can take any such action. Once the control has
focus it always keeps it on some item. In fact, AFAIK the only case when
there can be no focus at all is when the control is empty.

GC> Here are two ideas for future consideration. First, because we
GC> permit multiple selections (to support deletion of multiple
GC> cells, at a user's request), should commands other than 'delete'
GC> (e.g., 'run') reflect all selections instead of just the first
GC> (or the focused one)?

 I think it would be more logical. If the control supports multiple
selections, all actions should normally be applied to all the selected
items, not just to the focused one.

GC> Second, before we spend a lot of time considering further improvements
GC> like that, shouldn't we get rid of the wxListCtrl altogether, and
GC> replace it with a grid control?

 What would be the advantage of doing this? Or, alternatively, what is the
problem with using wxListCtrl?

 Thanks,
VZ





reply via email to

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