Steph's reply is correct - the button with focus always responds to the Enter key. But if no button has focus, i.e. the focus is on a non-button component such as an edit box, then if one of your buttons has its Default property set to True, it will respond to the Enter key. My guess is your...
Lateral thinking here: coding for Delphi console apps is an art in itself, so I suggest you just get going with some practice gui apps, which is what Delphi is all about. So much is automated, but you can also see the resultant code and learn from it (and the Help files) as you go (unless you...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.