Forum: Pascal and Delphi Mar 4th, 2007 |
| Replies: 4 Views: 4,170 Another way of trapping the Enter key is by using the form's KeyPreview property set to true. Then on the Form's onKeyPress event do this:
procedure TForm1.FormKeyPress(Sender: TObject; var... |