Hi,
I am using Telerik 2014 Q1 SP1.
this is my code:
when i am in Form1 and hit F2, it opens Form2 in dialoge mode. everything is ok so far but the problem is even when Form2 is open and i hit F2 it will again open Form2 and thats repeat.
but i think the shortcuts are suppose to work when the form is active!
also if i use raddock, no matter which tabbed document is active, the shortcuts for first form in tabbed documents will works!!!!
So obviously i want shortcuts to perform whenever my form is active.
I am using Telerik 2014 Q1 SP1.
this is my code:
public
Form1()
{
InitializeComponent();
RadMenuItem rtsmNew =
new
RadMenuItem(
"New"
);
rtsmNew.Click += rtsmNew_Click;
RadShortcut rs=
new
RadShortcut(Keys.None, Keys.F2);
rtsmNew.Shortcuts.Add(rs);
rtsmNew.HintText = rs.GetDisplayText();
}
public
void
rtsmNew_Click(
object
sender, EventArgs e)
{
new
Form2().ShowDialog();
}
but i think the shortcuts are suppose to work when the form is active!
also if i use raddock, no matter which tabbed document is active, the shortcuts for first form in tabbed documents will works!!!!
So obviously i want shortcuts to perform whenever my form is active.