How we use Menu control

sajeel

Member
Joined
Jul 9, 2008
Messages
17
Programming Experience
Beginner
How we use Menu control in vb.net
i want to display menu options when i right click the Mouse

options are 1) Create products
2)Create categories

in my app.
 

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,552
Location
Norway
Programming Experience
10+
Add a ContextMenuStrip from Toolbox. The form and all controls has a ContextMenuStrip property where you can select the context menu to be used. In the most basic sense the menu is designed by navigating it normally and writing in the item texts, doubleclick an item to generate an event handler where you write the code it should do when clicked.
 
Top Bottom