extra menu
-
hi i wish to know how to create a extra menu in vb.net this extra menu is the same as the menu we get when we click the right button on windows i wish to do this menu on datagrid can it be done? if cant kindly tell me if can kindly guide or provide me with any article i can refer thank you in advance Gary
-
hi i wish to know how to create a extra menu in vb.net this extra menu is the same as the menu we get when we click the right button on windows i wish to do this menu on datagrid can it be done? if cant kindly tell me if can kindly guide or provide me with any article i can refer thank you in advance Gary
hi gary, the menu you refer to is called a context menu. it can be used in conjunction with a datagrid or any other windows form element. just handle the mouseclick, mousedown, or mouseup event of the datagrid, check the event args to see which button was clicked and display your context menu appropriately. you should be able to find some help on msdn here[^] hope this helps.
-jim
-
hi gary, the menu you refer to is called a context menu. it can be used in conjunction with a datagrid or any other windows form element. just handle the mouseclick, mousedown, or mouseup event of the datagrid, check the event args to see which button was clicked and display your context menu appropriately. you should be able to find some help on msdn here[^] hope this helps.
-jim