Use the following code:
public RadForm1()
{
InitializeComponent();
this.IsMdiContainer = true;
RadForm form = new RadForm();
form.Text = "Net Core WinForms MDI Child 1";
form.MdiParent = this;
form.Show();
form = new RadForm();
form.Text = "Net Core WinForms MDI Child 2";
form.MdiParent = this;
form.Show();
form = new RadForm();
form.Text = "Net Core WinForms MDI Child 3";
form.MdiParent = this;
form.Show();
this.radMenuItem1.Shortcuts.Add(new RadShortcut(Keys.Control, Keys.X));
this.radMenuItem1.Click += RadMenuItem1_Click;
this.radMenuItem2.Shortcuts.Add(new RadShortcut(Keys.Control, Keys.A));
this.radMenuItem2.Click += RadMenuItem2_Click;
}
private void RadMenuItem1_Click(object sender, EventArgs e)
{
RadMessageBox.Show("Ctrl+X");
}
private void RadMenuItem2_Click(object sender, EventArgs e)
{
RadMessageBox.Show("Ctrl+A");
}
Expected result: Press Ctrl+X >> the respective message box is shown
Actual result: the message box is missing. Only when the MDI child forms are missing MDIParent, the shortcut is executed.
I noticed when you open a RadMenu in design view on a form where you want e.g. add some menu items, and, while the menu is open, you click on another form (e.g. to check on the items you created up there), the menu remains open, even if you navigate through other open windows in VS.
It took me a while to find out which menu I initially clicked on.
Please note, this happens sometimes, I did not find one way I can always reproduce this behavior.
After a few clicks I managed to close the menu...
It is a minor issue.
Hello,
I am currently working with a rad collapsible panel, and I have encounter a problem while changing screens. In the screen I usually work with, the menu is working as intended, but when I swap the window to my laptop or start the program in it,the menu moves and gets cutted. The problem appears at the start of the program and disappears when you maximize the window or when you select a table to display, but setting the window to maximized by default doesn't solve it. The problem also appears when dragging the window from one screen to the other.
Any idea how to solve this?
Regards.