Unit 'mseforms' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#msegui]

tcustommseform.onclosequery

Fires from canclose, with amodalresult set to the pending modalresult (or mr_canclose if none is pending yet)

Declaration

Source position: mseforms.pas line 365

public property tcustommseform.onclosequery : closequeryeventty
  read fonclosequery
  write fonclosequery;

Description

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.


Documentation generated on: 2026-10-03