Inno Setup: how to paste serial number by right-click mouse and paste -
according question custompage serial number in inno setup, realized serial number pasting "ctr+c" , "ctr+v". need paste serial number right-click mouse , paste.
can add wndproc in edit can catch wm_paste message?
change code previous answer this:
procedure onserialeditchange(sender: tobject); var edit: tedit; editindex: integer; begin edit := tedit(sender); editindex := edit.taborder - serialedits[0].taborder; if ((editindex = 0) , (isvalidinput = false)) begin trypasteserialnumber; end; wizardform.nextbutton.enabled := isvalidinput; end;
Comments
Post a Comment