Hi. I am very new to VB. Using VB 2005.
I have worked for 25 years with procedural progamming, but never object or event driven.
I have a form with a tab control and 10 tabs. Each tab has a tree. Each branch of the tree is a menu selection. The parameter for a generic subroutine is contained in the node tag.
I would like to capture ANY double click from ANY tree with a single piece of code.
Something like:
Thanks,
Jeff
I have worked for 25 years with procedural progamming, but never object or event driven.
I have a form with a tab control and 10 tabs. Each tab has a tree. Each branch of the tree is a menu selection. The parameter for a generic subroutine is contained in the node tag.
I would like to capture ANY double click from ANY tree with a single piece of code.
Something like:
Code:
if event = double.click and control[1,4] = "tree" then msgbox(node.text) call program(node.tag) end if
Jeff
Comment