Fires from canclose, with amodalresult set to the pending modalresult (or mr_canclose if none is pending yet)
Source position: mseforms.pas line 365
public property tcustommseform.onclosequery : closequeryeventty |
Fires from canclose, with amodalresult set to the pending modalresult (or mr_canclose if none is pending yet). Setting amodalresult to mr_none cancels closing the form (and onclose is not called); any other value lets the form close with that modalresult.