View Single Post
  #370  
Old 29-08-2016, 18:00
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Find this in script

procedure LockKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
make it

procedure LockKeyDown(Sender: TObject);

then find:
OnKeyDown:=@LockKeyDown;

Make this
OnClick:=@LockKeyDown;

Note: This is not tested, I wrote code with Notepad.
Reply With Quote