View previous topic :: View next topic |
Author |
Message |
Stuart
Joined: 03 Feb 2007 Posts: 2
|
Posted: Thu Nov 29, 2007 8:47 pm Post subject: SelectedRow problem |
|
|
When I set the .SelectedRow and then try to multi-select using the keyboard, the currently selected item doesn't get included within the selected items.
For example in a default tree with multi select enabled, I do:
virtualTree1.SelectedRow = virtualTree1.GetRow(5);
Then hold shift+down to select the row below also, but only the row below gets selected. Is there any way around this? It doesn't work like this on the default ListView.
Thanks. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Thu Nov 29, 2007 9:20 pm Post subject: |
|
|
This is because the AnchorRow is currently not set when you set the SelectedRow property. We will fix this in the next release to give you the same behaviour as the standard ListView. If you need this behaviour before then you can achieve it by overriding the SelectedRow property and setting the (protected) AnchorRow property in the set method. _________________ Infralution Support |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Dec 03, 2007 9:36 pm Post subject: |
|
|
Version 3.7.2 has now been released and fixes this issue. _________________ Infralution Support |
|
Back to top |
|
|
|