1

TLama's code for creating a Serial Number page shown here CustomPage for Serial Number in Inno Setup

currently detects for CTRL+V for pasting in a serial number; how can it be changed to also detect for SHIFT+INS?

Community
  • 1
  • 1
Andy Groom
  • 619
  • 1
  • 7
  • 15
  • Define one new constant `VK_INSERT = 45` and the condition in `OnSerialEditKeyDown` event method starting with `if (EditIndex = 0) and ... then` extend to `if (EditIndex = 0) and (((Key = Ord('V')) and (Shift = [ssCtrl])) or ((Key = VK_INSERT) and (Shift = [ssShift]))) then`. – TLama Apr 14 '14 at 10:17

0 Answers0