K
Kay
Hi all,
Can anyone tell me how do I set focus on a particular treenode at run time?
If you need to know what I'm try to do please read on ...
I have a treeview to represent a Country/Product scenario (i.e. a country,
as parent node, produce 1 to many product, as childnode). When the user
click on one of the node a group of textbox/combo box etc will be populated
and if btnSave is clicked data will then be updated and the treeview will be
reloaded.
I'm trying to "remember" the selected node , it could be parent or child
node, and after the treeview is refreshed I want to set focus to the that
node again. However I can't find the focus method for a node.....anyone
know how?
Thx!
Kay
Can anyone tell me how do I set focus on a particular treenode at run time?
If you need to know what I'm try to do please read on ...
I have a treeview to represent a Country/Product scenario (i.e. a country,
as parent node, produce 1 to many product, as childnode). When the user
click on one of the node a group of textbox/combo box etc will be populated
and if btnSave is clicked data will then be updated and the treeview will be
reloaded.
I'm trying to "remember" the selected node , it could be parent or child
node, and after the treeview is refreshed I want to set focus to the that
node again. However I can't find the focus method for a node.....anyone
know how?
Thx!
Kay