On Mon, Nov 16, 2020 at 11:43 AM Bo Berglund via lazarus
<lazarus@lists.lazarus-ide.org> wrote:

> I create a new application and place a TBitBtn on a panel at the
> bottom of the main form. I set the Kind property to bkClose.
>
> Now I expect the application to close when I click this button, like
> it does on Delphi for the same type of button.

IIRC then having a button with a ModalResult on the application's main
form in Delphi does not close that form.
In Lazarus it did in the past, but this was changed (long time ago),
to be consistent with Delphi behaviour.

-- 
Bart
-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to