Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by himitsu,
16. Jun 2020
Personal (bis 2005)
Turbo Delphi Explorer (ab D2006)
Starter (XE)
Community Edition (10.3) - ich weiß der Link heißt immernoch Starter, aber es ist nun eine Community
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by himitsu,
7. Mai 2020
// Form.OnKeyDown und Form.KeyPreview=True im Objektinspektor nicht vergessen
procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
begin
if Key = VK_RETURN then begin
// mach was
Key := 0; // du hast ja schon was gemacht, also die Standardbehandlung nun verhindern
end;
end;