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

TApplication.AddOnQueryEndSessionHandler

Adds an application logoff query handler.

Declaration

Source position: forms.pp line 1564

public procedure TApplication.AddOnQueryEndSessionHandler(

  Handler: TQueryEndSessionEvent;

  AsFirst: Boolean = True

);

See also

TApplicationHandlerType

  

Types of Application notification handlers.

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