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

TApplication.AddOnModalEndHandler

Adds an application exiting modal state handler.

Declaration

Source position: forms.pp line 1520

public procedure TApplication.AddOnModalEndHandler(

  Handler: TNotifyEvent;

  AsFirst: Boolean = True

);

See also

TApplicationHandlerType.ahtModalEnd

  

Handler invoked when the last modal form is closed.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.