Also hope you good friend can teach me, thank you!!!!!
CodePudding user response:
Tree control clickTree is defined, the current label value
Methods a little...
The integer I, j
For I=1 to upperbound (parent) menuid) item)
For j=1 to upperbound (parent) menuid) item [I] item)
If the parent. Menuid. Item [I] item [j]. Journal of text=tags value then
Parent. Menuid. Item [I] item [j]. Journal of postevent (clicked!)
The exit
End the if
Next
next
CodePudding user response:
Don't know this idea is not line, haven't tested:TV control Treeviewitem item data property is any value,
Of course can also be a menu...
Click on the items, the menu, and then trigger the clicked!