5
Reply

Event Trigger

Eyal Lewin

Eyal Lewin

Sep 30 2009 10:33 AM
7.4k
Hello All..
i have a TreeView called "tvwProject" which in the frmLoad function i have the following code:
//tvwProject.SelectedNode = tvwProject.TopNode;
meaning that i don't want any node to be selected in the loading of the frm.

the event's flow continues to the Enter function & automatically to AfterSelect
in the Enter event -> tvwProject.SelectedNode == null
BUT in AfterSelect event -> tvwProject.SelectedNode = first node in treeView

how can i control the selected node ??
how can i see the event flow in my program ??

thank's
Eyal

Answers (5)