Thanks Derrell for your answer and several hints. If my memory doesn't fail, I think that this is the standard behavior of Win32 multiple selection listboxes. Each click toggles the selection state, to ease multiple selection.
I have tried the code for this change, and it's quite an easy modification. Derrell Lipman wrote: > > On 7/27/07, dperez <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I would like to implement a new selection mode for table and treevirtual. >> >> ... >> >> The new mode I would like to add is: >> >> /** >> * When the user clicks an item, its selection state is toggled. >> * MULTIPLE_INTERVAL_SELECTION allows to select several items, but is >> focused primarily >> * to select just one. This mode emphasizes the multiple selection >> to >> the end user. >> */ >> MULTIPLE_INTERVAL_SELECTION_TOGGLE : 5 >> >> Do the table and treevirtual gurus like this new mode? >> If so, I will implement it. > > Hi David, > > Since this is an addition which is selected by the user, I don't have > a problem with this in theory. The issue I see is that this mode is > selected, the behavior of selections is entirely different than any > normal selection usage that one would see elsewhere. I would think it > would be a poor idea to use that mode anyplace that looked like it > would behave in the traditional fashion. > > I haven't looked at the code to see how one would do it but why don't > you look into adding this new mode as a mixin. > -- View this message in context: http://www.nabble.com/Table-selection%3A-MULTIPLE_INTERVAL_SELECTION_TOGGLE-tf4155970.html#a11859386 Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel