Sign in Join
FPDoc Onlineexperiment

TModalDialogFinished procedure type

In unit Forms

Specifies an event handler signalled when a modal message dialog is completed.

Declaration

pascal
TModalDialogFinished = procedure(Sender: TObject; AResult: Integer)
 of object

Arguments

Sender

TObject instance for the event notification.

AResult

Modal result value from the dialog.

Description

TModalDialogFinished is an object procedure which specifies an event handler signalled when a modal message dialog is completed. The AResult argument contains the modal result constant returned from the message dialog.

TModalDialogFinished is the type used to implement the TCustomForm.OnShowModalFinished and TApplication.OnMessageDialogFinished properties.

See also

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