2good2btru
Programmer
I have converted one of my main menu item which had about 200 submenus into a treeview, the idea is to open the window which opened on the click of the menu item on the click of the treeview item, i am storing the menu item name as the treeviewitem data...
now i can easily trace back the entire menu structure by looping with finditem(parentreeitem!,...) so that i would finally get m_1.m_2.m_3.m_4. etc.......
But all this in a string format.... can i finally typecast or make it bahave like a menu object , so that i can trigger its clicked event..........
Ofcourse, the other way would be to loop through the menu for the particualr name and fire the clicked event, just wanted to avoid the processing if the earlier logic is feasible....
help me out.......
now i can easily trace back the entire menu structure by looping with finditem(parentreeitem!,...) so that i would finally get m_1.m_2.m_3.m_4. etc.......
But all this in a string format.... can i finally typecast or make it bahave like a menu object , so that i can trigger its clicked event..........
Ofcourse, the other way would be to loop through the menu for the particualr name and fire the clicked event, just wanted to avoid the processing if the earlier logic is feasible....
help me out.......