I'm using Delphi 2009 and I followed a tutorial at delphi.about.com, but I couldn't set it.
I created an event OnKeyPress/OnkeyDown and set a breakpoint to see if the event is called, but it's not being called in any way.
Where is the problem?
EDIT:
procedure TFormMain.FormKeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
Beep; //breakpoint is set here.
end;