Input Widget - fix so that Tab can be assigned to a widget properly

This commit is contained in:
andres.delikat 2011-02-23 21:30:11 +00:00
parent 6ebca99cd5
commit 7293d8749e
1 changed files with 5 additions and 5 deletions

View File

@ -65,7 +65,8 @@ namespace BizHawk.MultiClient
base.OnLostFocus(e);
BackColor = SystemColors.Window;
}
/* protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
if (keyData == Keys.Tab)
{
@ -75,11 +76,10 @@ namespace BizHawk.MultiClient
Bindings.Add(kb);
UpdateLabel();
}
else
base.ProcessCmdKey(ref msg, keyData);
return true;
}*/
return false;
}
}
public class KeyboardBinding : IBinding
{
public override string ToString()