M
MyndPhlyp
I am having a bit of difficulty writing a NodeClick event handler for a
Microsoft TreeView Control (v6.0) object . According to my documentation the
Sub should be defined as:
Private Sub object_NodeClick(ByVal node As Node)
When it comes time to compile I get the error:
Procedure declaration does not match description of event or procedure
having the same name.
I know I'm using the correct string for "object" in the above Sub. Just for
grins I slapped together a quick Click event using the same string and it
fired just fine.
I've tried removing the ByVal and even tried removing all the parameter
information but still get the same error. MSDN only confirms what
documentation I already have.
So what is the trick to getting this declared correctly so it will compile
in Access 2000?
Microsoft TreeView Control (v6.0) object . According to my documentation the
Sub should be defined as:
Private Sub object_NodeClick(ByVal node As Node)
When it comes time to compile I get the error:
Procedure declaration does not match description of event or procedure
having the same name.
I know I'm using the correct string for "object" in the above Sub. Just for
grins I slapped together a quick Click event using the same string and it
fired just fine.
I've tried removing the ByVal and even tried removing all the parameter
information but still get the same error. MSDN only confirms what
documentation I already have.
So what is the trick to getting this declared correctly so it will compile
in Access 2000?