Event handler for closing the form
Source position: forms.pp line 658
public property TCustomForm.OnClose: TCloseEvent read FOnClose write FOnClose stored IsForm;