Hi MMarinich,
You could use the following workaround to force the BarItem to issue a Click event when Alt+Letter is pressed.
// Override the host form''s ProcessCmdKey method as shown in code below :
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
if (keyData == (Keys.Alt | Keys.F))
{
this.barItem1.PerformClick();
}
else if (keyData == (Keys.Alt | Keys.E))
{
this.barItem2.PerformClick();
}
else if (keyData == (Keys.Alt | Keys.V))
{
this.barItem3.PerformClick();
}
else if (keyData == (Keys.Alt | Keys.H))
{
this.barItem4.PerformClick();
}
return base.ProcessCmdKey (ref msg, keyData);
}
Please refer to the
sample attached here that illustrates this and let me know if this works for you.
Regards,
Guru Patwal
Syncfusion, Inc.