User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 397,818 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,622 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser:
Views: 1536 | Replies: 1
Reply
Join Date: Apr 2007
Posts: 1
Reputation: sachincool is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sachincool sachincool is offline Offline
Newbie Poster

context menu

  #1  
Apr 29th, 2007
when right clicked on the form it should show the main menu
how can i code this
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2002
Location: West Virginia
Posts: 374
Reputation: waynespangler is on a distinguished road 
Rep Power: 6
Solved Threads: 37
waynespangler waynespangler is offline Offline
Posting Whiz

Re: context menu

  #2  
Apr 29th, 2007
I don't know exactally what you want. Your main menu is showing unless you have the visible property set to false. If that is true then use the mouse down event, check for right mouse button and set the visible property to true. If you want to turn it off then each selected menu item has to set the visible property to false.
If what you are talking about is a context menu then add one to your form and set then context menu property to point to it. Then when you right click on the form the context menu will pop up.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb VB.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the VB.NET Forum

All times are GMT -4. The time now is 6:41 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC