This is a question to the .Net experts.
If I select a node by tabbing on the display (or clicking on a node on the desktop) the node ist selected AND the node gets colored to show the selection.
If I select a node by coding Tree.selectedNode = ... the node is selected but NOT colored to show the selection. Why?
I want the user to be able to move a selected node up or down in a treeview. First, the user selects a node by tabbing. The node gets colored and everything is ok.
Since there is no build in function to move up or down a node, I delete the node and insert it again one position up or down.
Then I automatically select the moved node in the program so the user could press the up or down button without tabbing on the node again. But my program driven selection is not visible to the user ... so he has to guess which node will move if he presses up or down.
Any solutions available? :sign0163:
specci48
If I select a node by tabbing on the display (or clicking on a node on the desktop) the node ist selected AND the node gets colored to show the selection.
If I select a node by coding Tree.selectedNode = ... the node is selected but NOT colored to show the selection. Why?
I want the user to be able to move a selected node up or down in a treeview. First, the user selects a node by tabbing. The node gets colored and everything is ok.
Since there is no build in function to move up or down a node, I delete the node and insert it again one position up or down.
Then I automatically select the moved node in the program so the user could press the up or down button without tabbing on the node again. But my program driven selection is not visible to the user ... so he has to guess which node will move if he presses up or down.
Any solutions available? :sign0163:
specci48