shiftF10 = Key { f10, shift = true },
shiftF11 = Key { f11, shift = true },
shiftF12 = Key { f12, shift = true },
- shiftInsert = Key { insert, shift = true }
+ shiftInsert = Key { insert, shift = true },
+ shiftDel = Key { del, shift = true }
};
break;
}
}
- if(key == f2 && currentField && currentField.editable)
+ if((key == f2 || (style.alwaysEdit && (key == ctrlV || key == ctrlC || key == ctrlX || key == shiftInsert || key == ctrlInsert || key == shiftDel))) &&
+ currentField && currentField.editable)
{
PopupEditBox(currentField, false);
if(editData && editData.visible)
if(style.alwaysEdit)
{
editData.Activate();
- // For Installer to pop up file dialog
- NotifyKeyDown(master, this, currentRow, key, ch);
+ if(key == ctrlV || key == ctrlC || key == ctrlX || key == shiftInsert || key == ctrlInsert || key == shiftDel)
+ editData.OnKeyHit(key, ch);
+ else
+ // For Installer to pop up file dialog
+ NotifyKeyDown(master, this, currentRow, key, ch);
}
return false;
}