Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Treeview events

Status
Not open for further replies.

jmswe

Programmer
Feb 14, 2002
31
GB
Hi!

I have big problems with treeview events. I work in access visual basic..

My problem: On the properties for the ms treeview object there is no event field for basic things as mousedown and of course not for more advanced things as OLEDrag. Where do i register this so that theese events will be monitored and my code executed when they occur?
 
Its really idiotic.

I can add directly into code "sub treeview1.click()" etc
and it works fine.. but if i try to add indata in the paranthesis: "sub treeview_click(button as integer, x as).. etc i get an error saying "procedure declaration does not match description of event)...

What is wrong? Have i missed some referencing? The ms treeview works fine elseway..
 
I encountered exactly the same problem this week (aug 2002).
Have you found a solution in the mean time?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top