On 2015-08-06 11:44, Michael Van Canneyt wrote: > You need to activate that behaviour: it should be set as 'Default'.
The buttons are not individual buttons it is the TButtonPanel component. That component doesn't have a Default property and you can select the individual buttons (in the form designer). I thought the TButtonPanel.DefaultButton = pbOK does the same as TButton.Default, or am I understanding that wrong. http://lazarus-ccr.sourceforge.net/docs/lcl/buttonpanel/tbuttonpanel.html Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
