Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Menu

Status
Not open for further replies.

tek1ket

MIS
Jan 25, 2009
70
IR
i have a listview which shows records of a table, i want to have menu whenever i right click on record. how can i show and hide a menu like that on c#?

thanks
 
I remembered the word,popupMenu,I mean i want to have a popup menu

thanks
 
The name is ContextMent. Add a ContentMenu to the form. Use the menu designer to add menu items as needed. In the listbox properties, set the ContentMenuStrip property to the name of the Contentmenu you created...

=======================================
People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world. (Calvin from Calvin And Hobbs)

Robert L. Johnson III
CCNA, CCDA, MCSA, CNA, Net+, A+, CHDP
C#.NET Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top