Recent

Author Topic: OnCloseQuery TForm event is fired twice  (Read 1711 times)

inferno

  • New Member
  • *
  • Posts: 34
OnCloseQuery TForm event is fired twice
« on: June 12, 2021, 03:29:39 pm »
Hi all,
It looks that OnCloseQuery TForm event is fired twice. I'm using macOS Catalina and Cocoa. Could you please anybody check this behaviour?

Best regards,
Inferno

egsuh

  • Hero Member
  • *****
  • Posts: 827
Re: OnCloseQuery TForm event is fired twice
« Reply #1 on: June 12, 2021, 04:21:44 pm »
Is OnCloseQuery an event of TForm? I think it's TSQLQuery's event.

winni

  • Hero Member
  • *****
  • Posts: 2660
Re: OnCloseQuery TForm event is fired twice
« Reply #2 on: June 12, 2021, 04:32:14 pm »
Is OnCloseQuery an event of TForm? I think it's TSQLQuery's event.

No, it is an event of TForm

wp

  • Hero Member
  • *****
  • Posts: 8731
Re: OnCloseQuery TForm event is fired twice
« Reply #3 on: June 12, 2021, 04:57:47 pm »
Checked it with Laz trunk on macOS Mojave 10.14.3, and cannot confirm this behaviour.
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

 

TinyPortal © 2005-2018