[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TApplication.OnModalEnd

Event handler signalled when the last modal form for the application has been exited.

Declaration

Source position: forms.pp line 1760

public property TApplication.OnModalEnd : TNotifyEvent
  read FOnModalEnd
  write FOnModalEnd;

Description

OnModalEnd is a TNotifyEvent property with the event handler signalled when the last modal form or dialog in the application has been exited.

It is signalled from the ModalFinished method if the number of modal forms in the application is 0 (zero). It is signalled prior to other application handlers using the ahtModalEnd handler type.

Use OnModalBegin to perform actions needed when the first modal form is displayed for the application.

See also

TApplication.ModalFinished

  

Called when a modal form is closed.

TCustomForm.ShowModal

  

Displays the form as a modal dialog.

TCommonDialog.Execute

  

Displays the dialog and captures the result.

TApplicationHandlerType

  

Types of Application notification handlers.


Version 3.2 Generated 2024-02-25 Home