Hi Nik and Sean,
I have now modified my earlier workaround to care of this situation. The modified ProcessMnemonic method in the child form is as shown below :
bool recursive = false;
protected override bool ProcessMnemonic(char charCode)
{
if(this.recursive)
return false;
// In the 1.1 framework, the ProcessMnemonic is not being sent to the parent form, so
// forward it to the parent form manually.
bool retVal = base.ProcessMnemonic(charCode);
if(retVal == false)
{
this.recursive = true;
return ((Form1)this.MdiParent).ProcessMnemonic_New(charCode);
}
else
return true;
}
The
complete sample incorporating this workaround is attached here. Please refer to it and let me know if you need further assistance.
Like I mentioned earlier, this seems to be an issue with the .NET framework v1.1. We do not intend to incorporate any fixes in the source code at this point of time, and wish to wait till the VS.NET Whidbey release. For now, we request you to use the workaround. We appreciate your cooperation and understanding on this issue.
Regards,
Guru Patwal
Syncfusion, Inc.