Connecting Tech Pros Worldwide Help | Site Map

regarding menuStrip (help)

  #1  
Old July 2nd, 2009, 04:13 PM
Member
 
Join Date: Mar 2008
Posts: 72
Could anyone tell me how to disable the menuStrip when a Link click?
let say my Menu as below:
File
>Open FormA
>Open FormB

Once I clicked the Open FormA link, the Open FormA would be disable e.g.like fade effect.


Please guide. Thanks
  #2  
Old July 2nd, 2009, 07:38 PM
Expert
 
Join Date: Jun 2008
Location: Pretoria, South Africa
Posts: 400
Provided Answers: 2

re: regarding menuStrip (help)


Hi

Well, each button in a menu strip is exactly that, a button which has an 'enabled' property. Each button should have a unique identifier (name property)

Each form has an OnLoad event, maybe you could use the above properties in the load event of the form...

Give it a try and post some code if you get stuck.

Good luck
  #3  
Old July 3rd, 2009, 03:14 AM
Member
 
Join Date: Mar 2008
Posts: 72

re: regarding menuStrip (help)


Hi cloud255, Thank you.
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding helpcursor display in menu items. sethuganesh@gmail.com answers 0 December 15th, 2006 05:35 AM