[Lazarus] Default buttons in IDE dialog don't seem to work

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Thu Aug 6 13:29:36 CEST 2015


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/




More information about the Lazarus mailing list