Click here to Skip to main content
15,905,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How will i hide the Dropdown menu items of ToolstripMenuItem component in MDI Form??

Example:
1>Master
1a>Account->subledger,...,etc.
1b>Item->category,group,manufacturer,....,etc.

I want to hide the Dropdown menu items of 'Items(1b)'

anybody Please help me..
Posted
Updated 24-Jan-12 1:26am
v2

 
Share this answer
 
you go through your DropDownItems and make the visible false;

assume tstr is your menu item,

tstr.DropDownItems[i].Visible = false; where i is the index of your item.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900