RE: TGListBox behavior for multiple selections

From: Ilka Antcheva <Ilka.Antcheva_at_cern.ch>
Date: Sun, 26 Aug 2007 08:41:30 +0200


Hi Tom,

The list box was implemented and behaves as you described since the beginning (1998!). May be at that time users did not require the functionality we are using in our every day work today (selecting a row of entries by shift-click). This looks like the reason (for me) why the code provide such a functionality. Of course this can be changed in a way you have expected. I will keep you informed.

Best regards, Ilka

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch
[mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Tom Roberts Sent: Sunday, August 26, 2007 12:07 AM
To: 'ROOT Talk'
Subject: [ROOT] TGListBox behavior for multiple selections

When I have a TGListBox configured for multiple selections, its behavior is an unwelcome surprise -- it's as if the CTRL key was always held down, with no way to release it. That is, every click adds the item to the selection, or removes it if already selected -- there is no way to select a row of entries (shift-click) or to simply click on one entry and select it alone.

Is there any way to make this widget behave as users expect? That is, the way all other multiple-select list boxes behave in other applications.

I'm using Root 5.14 on Linux.

Tom Roberts Received on Sun Aug 26 2007 - 08:41:36 CEST

This archive was generated by hypermail 2.2.0 : Mon Aug 27 2007 - 11:50:03 CEST