comment 400 posted by admin on 2008-05-14 12:51 AM, 846 days ago | forward
|
| "Make the datatree shift and control clicking more like Windows Explorer(new line);(new line);In windows explorer,(new line);(new line);1. if you block something with the shift key and then you hold the shift key down again and click some extra stuff, it will block that too. (new line);(new line);2. if you block something with shift and then hold control and click something else that was not selected it just adds that new thing to the selected items, or if you hold the control and click something that was selected it deselects just that item.(new line);(new line);3. if you reverse it and select a bunch of things with control key and then take your finger of the control key and hold down the shift, it does NOT add everything between the previous node and the clicked node to what was already selected, it just blocks everything between the previous node and the clicked node, and deselects everything else. However if you hold down the control key AND the shift key, it will add everything between the previous node and the clicked node to what was already selected.(new line);(new line);4. it allows you to not have anything selected.(new line);(new line);(new line);(new line);(new line);(new line);Currently the datatree does not behave like this, (new line);(new line);1. if you block something with the shift key and then you hold down the shift key again, it does noes not add it to what was already selected. It just blocks the new stuff.(new line);(new line);2. if you block something with the shift key and then hold down the control key it just blocks the new thing you clicked and gets rid of the old stuff.(new line);(new line);3. obviously this does not work either.(new line);(new line);4. you always have to have something selected.(new line);(new line);(new line);(new line);(new line);(new line);Possible Solutions.(new line);(new line);1. In datatree.vb in MouseDown event handler, in shift key section at the bottom, just don't reset the previous node.(new line);2. (new line);(new line);4. put in an else clause at the very botton of the mousedown, to handle if a blank area was clicked,(new line); which would clear all the selected paths from the controller (or set the selected path to the root) , set the previous node to nothing.(new line);(new line);nb. you should probably put in an else clause for the shift key section if the user holds down the shift key on the first click. At the moment this case is not handled because something always must be selected but if you allow nothing to be selected then you will have to handle this case.(new line);(new line);(new line);(new line);(new line);(new line);(new line);(new line);Version: Found By:Shaun VerrallContact:shaun.verrall@csiro.au"
|
|