I have the following code that works in Windows but not in Cocoa
procedure TMainForm.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState );
begin
If Key = VK_Space then StartBtn.click ;
end;
The event does not seem to be called in Cocoa. Should I use something different?