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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tree Control Methods

Status
Not open for further replies.

sequelman

Programmer
Aug 23, 2000
6
0
0
US
Private Sub TreeView_NodeClick(ByVal objCurrNode As Node)
generates an error. Is this event available in VBA (access 97)?
 
Uh
Where are you calling this from and what the error Number and message.
 
Sorry for the cryptic post....

I'm attemping to use a TreeView control for application navigation, e.g. user clicks on a tree node and the appropriate sub form is loaded. I looked up the TreeView control on MSDN and found the nodeclick event. The event is not listed in the properties for the control in Access though.

When I code for it it doesn't compile. The error ' Event procedure declaration does not match description of event having the same name'.

Any insight would be appreciated.

Mike
 
G'Day Mike.

Private Sub InTrayTreeView_Click()
Private Sub InTrayTreeView_DblClick()

these are not listed on the controls properties list on
my access 97 system either, but work fine! ::)

Regards,

Gzep, SOF.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top