On Thu, 6 Aug 2015, Graeme Geldenhuys wrote:

Hi,

I use the "Run Parameters" dialog a lot. I change the "Command Line
Parameters" value frequently, and when I hit ENTER I expect the dialog
to close, but it doesn't.

I looked at the code (runparamsopts.pas) and it uses a ButtonPanel and
the DefaultButton = pkOK, so why doesn't hitting ENTER do the same as
when I click the OK button?

The OK button is not necessarily activated by default.
You need to activate that behaviour: it should be set as 'Default'.

Michael.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to