Click here to Skip to main content
16,022,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I added the following menu items: file, edit and view sequentially.When i run the application it shows in proper order. Then when i do some operations in application, i observed that the menu items are in this order edit, view and file.
Why did the order change?
Posted
Updated 18-Jan-11 20:30pm
v2

1 solution

Go to Menu property - item collection - check the MergAction and Mergindex and values. u can append the menu where ever u want inthe menu strip

cheers
-vasanth
 
Share this answer
 
Comments
Nilam B Thorat 19-Jan-11 5:44am    
Thanks for your reply.
We have menu strip in an MDI form. Menu strip having some menus on it. Merge index and MergAction properties are set in design and never changed on runtime. When application loaded, all menus are shown in proper sequence. At run time some menus are show/hide according to user action with software. In many cases menu itmes are shown in proper order. But some times, we observed that sequences of menu items are changed.

regards,
Nilam

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