TreeView Right-Click Context Menus in Access
One thing I’ve heard a lot lately is that the TreeView ActiveX control doesn’t support right-click context menus in Access (or VB for that matter) because the TreeView NodeClick event doesn’t supply the MouseButton parameter needed to determine WHICH button was clicked. But the MouseUp event DOES, and by the sheer grace of Microsoft, the NodeClick event fires BEFORE the MouseUP event.
So, here’s a way that you CAN implement right click menus in Access (or VB). This article is not about creating and populating a TV control, so it’s assumed that you already know how to do that.
Open an Access database, and…