Trap the plus sign <Ctrl><Shift><+> and <Ctrl><+> on the keyboard (not the keypad)
This commit is contained in:
@@ -1818,13 +1818,15 @@ namespace Volian.Controls.Library
|
||||
IsControlChar = true;
|
||||
if (e.Shift)
|
||||
{
|
||||
//Console.WriteLine("keycode = {0} key value = {1}",e.KeyCode,e.KeyValue);
|
||||
switch (e.KeyCode)
|
||||
{
|
||||
// The following keys are supported in underlying RTB (with ctrl+shift key),
|
||||
// but PROMS should not do anything for that functionality:
|
||||
case Keys.Add:
|
||||
case Keys.Add: // the plus on the key pad
|
||||
case Keys.Subtract:
|
||||
case Keys.L:
|
||||
case Keys.Oemplus: // the plus on the keyboard (not the key pad)
|
||||
e.Handled = true;
|
||||
break;
|
||||
}
|
||||
@@ -1891,6 +1893,7 @@ namespace Volian.Controls.Library
|
||||
case Keys.D2: // Double space text
|
||||
case Keys.D5: // 1.5 space text
|
||||
case Keys.H: // Find (proms uses Ctrl+F for find)
|
||||
case Keys.Oemplus: // plus on the keyboard (not the key pad)
|
||||
e.Handled = true;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user