![]() |
|
|||||||
| Menus & Toolbars Discussion of menu and toolbar components |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
With ToolStripManager you can Merge one strip to another, but the source strip will not work standalone after that until you RevertMerge. This is similar to doing Items.Add/AddRange with another strips Items, except such merge you can't "revert" as easily. The reason the source strip is not available until merge is reverted is because a menu item object can only have one parent.
__________________
See this thread about how to use forum markup codes for code blocks etc (present the problem/post properly )Some useful links: Learning videoes, WMI Code Creator, MSDN, The Code Project, WindowsClient.net, ASP.net, W3 Schools, Regular-Expressions.info, GDI+ FAQ DR. WEIR: Download it to a non-networked, firewalled computer. TECHNICIAN: Yes, ma'am. |
|
||||
|
ToolStripManager make cmsMenu3 works but in the process losing cmsMenu1 and 2. I need all 3 strips at the same time tho. Right now i am making cmsMenu3 by combining the code used to make menu1 and 2. I just thought there would be an easier way of doing it.
Couldn't i just do an addrange and copy cmsMenu1 to cmsMenu3 then do another addrange and copy cmsMenu2 to cmsMenu3? |
|
||||
|
No, as I said Merge/Add will move the menu item object because it can only be in one menustrip at a given time.
__________________
See this thread about how to use forum markup codes for code blocks etc (present the problem/post properly )Some useful links: Learning videoes, WMI Code Creator, MSDN, The Code Project, WindowsClient.net, ASP.net, W3 Schools, Regular-Expressions.info, GDI+ FAQ DR. WEIR: Download it to a non-networked, firewalled computer. TECHNICIAN: Yes, ma'am. |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|