If you need to avoid this system calling of context help, you can catch the WM_HELP message and handle it by your self.
For example, add this procedure to your form public part:
Code:
procedure WndProc(var Message: TMessage); override;
…
procedure TForm10.WndProc(var Message: TMessage);
begin
case Message.Msg of
WM_HELP: Exit;
end;
inherited;
end;
And “TForm10.FormKeyDown” procedure will not be called while Form10.KeyPreview property is False.
I hope, it helps.