Child Form's OnCloseQuery and OnClose Events not received. lazarus / 31-LCL ---------------------------------------------------------------------- mtrsoft · 2020-07-12 03:40 System Is: Windows 7 Pro x32 Lasarus 2.04 and FPC 3.04 The basic issue is that the OnCloseQuery and OnClose events aren't being recieved by a child form when it or the application is closed. (Note: The OnDestroy and OnResize events are received by the child form). The application is structured like this: MainForm   +-- PageControl (TExtendedNotebook) -- Owner and parent is         the MainForm.         +-- TFormSheet (a descendant of TTabSheet that has a               "Form" property). -- owner & parent is the PageControl.)             +-- Child Form which is assigned to the                             TFormSheet's Form property. (Owner and parent                              is the TFormSheet)               This child form does not receive the                              OnCloseQuery and OnClose events, but it does                              receive the OnDestroy  and OnResize events. What am I missing? ---------------------------------------------------------------------- Cyrax · 2020-07-12 09:02 You should replace child forms with frames. If I remember correctly, building MDI forms is currently supported only in trunk and only for win32 and qt widgesets. ---------------------------------------------------------------------- mtrsoft · 2020-07-12 16:50 @Cyrax, Thanks for the suggestion. I'll consider it.