walzer Posted May 6, 2005 Posted May 6, 2005 i got a toolbar with a button on it which got a dropdownmenu i put a contextmenu on that dropdownmenu, well its working but i want to know when i click on an item of that dropdownmenu where is the event for that how do i do it? on my dropdownmenu there are four websites i got a webbrowser on my form and if i click on a website of that dropdownmenu i want my webbrowser to navigate to that website! can anyone help me? i really need it its pretty urgent, pls thanks in advance Quote
Machaira Posted May 6, 2005 Posted May 6, 2005 You handle the event in the the context menu item's Click event, just like you would a normal menu item. Quote Here's what I'm up to.
walzer Posted May 6, 2005 Author Posted May 6, 2005 but the menuitem is made in runtime how do i call the click event then? Quote
techmanbd Posted May 6, 2005 Posted May 6, 2005 but the menuitem is made in runtime how do i call the click event then? I had the same question and had an answer here. It is for a different control, but the same idea http://www.xtremedotnettalk.com/showthread.php?t=92076 Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.