Hi, I'm having problems with highlighting when I dragdrop a listitem from a ListView to a TreeView. I'm pulling the item and holding it over the ThreeView - so far so good - Now the previous ListItem HitTest row is highlighted in the ListView (along with selected item). The allowed nodes in the ThreeView are highlighted as I move the dragged item. I drop it and get a dialog box and I cancel this dialog box.
That means the user cancels the dragdrop and I want to return to the original state, that is, with a grayed ThreeView (selected node) and an active ListView with just one highlighted row - the selected item.
But now the dragdrop node in the ThreeView is selected and the two rows in the ListView (selected item and previous mouseover/hittest). When I debug.print selected items for ThreeView and ListView I see that the correct items still are selected, but the highlighting does not reflect this.
How do I reset selections for both controls without running ItemClick subs?
![[elephant2] [elephant2] [elephant2]](/data/assets/smilies/elephant2.gif)
graabein
That means the user cancels the dragdrop and I want to return to the original state, that is, with a grayed ThreeView (selected node) and an active ListView with just one highlighted row - the selected item.
But now the dragdrop node in the ThreeView is selected and the two rows in the ListView (selected item and previous mouseover/hittest). When I debug.print selected items for ThreeView and ListView I see that the correct items still are selected, but the highlighting does not reflect this.
How do I reset selections for both controls without running ItemClick subs?
![[elephant2] [elephant2] [elephant2]](/data/assets/smilies/elephant2.gif)
graabein