[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 1514

public procedure TApplication.AddOnQueryEndSessionHandler(

  Handler: TQueryEndSessionEvent;

  AsFirst: Boolean = True

);

See also

TApplicationHandlerType.ahtQueryEndSession

  

Handler invoked before session ends

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