TForm.OnClose property
Handler called when the form is closed. It determines what happens to the form (destroy, hide, etc.).
Declaration
property OnClose:;Description
OnClose is a
TCloseEvent property which represents the
event handler signalled when a form calls its
Close or
CloseModal method.
OnClose is triggered from the DoClose method immediately before
calling any internal form handlers registered for the fhtClose
form handler action type. OnClose can be used to determine the action
performed in subsequent form handlers by setting the value in the
CloseAction argument.
An application must implement and assign an object procedure using the signature for TCloseEvent to respond to the event notification.
This description is the one of Forms.TCustomForm.OnClose.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
