I need to disable esc
for all programs using Delphi.
Probably form
has to be always active and I disable the key in a way similar to the example below.
My code so far:
procedure TForm2.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
begin
if Key = 27 then
ShowMessage('A tecla Backspace foi pressionada');
end;