I have problem with menu merge feature. I have RadForm named "MainForm" whose IsMdiContainer = true. I add RadMenu to that form.I add menu items to that rad menu. There are; "File | Edit | View | List | Reports | Tools | Administration | Help" . At the begining all their properties about merging is default : MergeIndex = -1, MergeOrder = 0, MergeType = Add.
I have RadForm named "Person". This form also have RadMenu. I add menu item to that rad menu.It has just "User" menu. Again this item's properties are default : MergeIndex = -1, MergeOrder = 0, MergeType = Add.
When I click File > Create New User from MDI form's menu, I create child form by these lines :
var Person = new Person();
Person.MdiParent = this;
Person.Show();
Now I have MDI form with child form. When I maximize the child form, its "Users" menu, added to MDI's menu, yeah this is expected.
And MDI's menu become "File | Edit | View | List | Reports | Tools | Administration | Help | User".
What I want to do is, adding that "User" menu to MDI's form in another order.Which should be;
"File | Edit | View | User | List | Reports | Tools | Administration | Help" instead of "User" menu added as to the last.
Or at least I can add empty "User" menu item to the MDI form's menu, where after "Person" form is maximized, "Person" forms sub items merge with the empty one in MDI form.
I play a lot with the Merge Order and Merge Index properties to achive but I was't able to do that.
The only thing that I can do is;
if I have menu like
| Menu1 | Menu2 | Menu3 | Menu4 | and
| dump1 | dump2 | dump3 | dump4 |
I can use merge feature with only the menus acrossing. I can use MergeType's "Replace", "Merge Items" properties with only
for menu1 and dump1 , or menu2 and dump2 where their physical order should match. Otherwise menu just added to last place.
Can someone send example code or helpful examples ? about merging feature.
I have RadForm named "Person". This form also have RadMenu. I add menu item to that rad menu.It has just "User" menu. Again this item's properties are default : MergeIndex = -1, MergeOrder = 0, MergeType = Add.
When I click File > Create New User from MDI form's menu, I create child form by these lines :
var Person = new Person();
Person.MdiParent = this;
Person.Show();
Now I have MDI form with child form. When I maximize the child form, its "Users" menu, added to MDI's menu, yeah this is expected.
And MDI's menu become "File | Edit | View | List | Reports | Tools | Administration | Help | User".
What I want to do is, adding that "User" menu to MDI's form in another order.Which should be;
"File | Edit | View | User | List | Reports | Tools | Administration | Help" instead of "User" menu added as to the last.
Or at least I can add empty "User" menu item to the MDI form's menu, where after "Person" form is maximized, "Person" forms sub items merge with the empty one in MDI form.
I play a lot with the Merge Order and Merge Index properties to achive but I was't able to do that.
The only thing that I can do is;
if I have menu like
| Menu1 | Menu2 | Menu3 | Menu4 | and
| dump1 | dump2 | dump3 | dump4 |
I can use merge feature with only the menus acrossing. I can use MergeType's "Replace", "Merge Items" properties with only
for menu1 and dump1 , or menu2 and dump2 where their physical order should match. Otherwise menu just added to last place.
Can someone send example code or helpful examples ? about merging feature.