Sign in Join
FPDoc Onlineexperiment

TCustomForm.WMCloseQuery procedure

Member of TCustomFormprotectedIn unit Forms

Handles the LM_CLOSEQUERY message used to close the window.

Declaration

pascal
procedure WMCloseQuery(var message: TLMessage); message

Arguments

message

Control message examined in the method.

Description

Calls the Close method to process and apply the ModalResult and CloseAction for the form. Sets the Result member in Message to 0 (zero) to indicate that WndProc should ignore the message; it has been handled in this method (and Close).

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.