kiolb Wrote:
-------------------------------------------------------
> There ia a Default property for each button. If
> set to True, its OnClick event will run when enter
> on the keyboard is pressed.
> If more than one is set to True, the first in the
> tab order is used.
>
> PS:
> It does not work if SpinEdit controls are on the
> form :-(
Odd, in Delphi 7 you don't need a button's default value to be set to use the enter key or space key on the keyboard. It also works if there is a SpinEdit on the page.
Something else you could do, just for fun, is set
btnXxxXXXX.Click; in the
procedure FormCreate Now as soon as the application is open the button is click
I don't think 2 or 3 more steps will effect your 'economy' factor in the exam. Don't stress about it.