Cant work out double click event for treeview 6.0

Phonik

Registered User.
Local time
Today, 15:59
Joined
Sep 22, 2006
Messages
111
HI all

I have managed to populate a treeview with some menu items I required and it looks great but I now need to get it to do something. How do I get a tree view value (selection) to act as a variable in routine. e.g. if my tree look like this.

Menu
¦
- Compaint management
I
I----My compaints


When I "double click" on My Complaints I want it to a open a specific form. One I know how to do one action I should be able to figure the rest out for myself.

Thanks everyone. :-)
 
There is no double click event for clicking on a node in the Treeview class. However, there is a node single click event (NodeClick). I guess you could use this event then write some code at the beginning of the event to check for a second click for a short period of time.

hth
Chris
 
Thanks for your reply. Could you give me an example of the code I would need to write...please and where it would need to go in the form code.

Thanks
 

Users who are viewing this thread

Back
Top Bottom