TreeView help??????

mmb

Active member
Joined
Aug 1, 2004
Messages
42
Programming Experience
1-3
I am using AFTER SELECT event of TreeView Control...as this is the only mouse event that supports e.node..

In AFTER SELECT event ..CODE is
msgbox(e.node.text)

On FIRST select is gives proper text of the node but on SECOND select of SAME node it gives NULL value ...Else its working fine.

ANY SOLUTIONS PLS...I tried alot.
 
I replicated your code with a treeview and I don't have this problem. Could you tell me the versions of the software that you are using?
 
Code attached

I have attached the Application folder to the email. Tell me how it turns out.
 

Attachments

  • WindowsApplication1.zip
    21.1 KB · Views: 52
still problem

The code u sent is like ....for the AFTER_SELECT event to occur we always have to select a new node. If the same selected node is clicked again then event will not occur.

I want that..if the same node is selected again (or any other node)....the event gives me the name of the selected node. I have tried all the events of the Treeview.

Pls help me out.. I have tried alot

Muhammad
Regards
 
Back
Top