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?