FMX.StdActns.TFileExit

From RAD Studio API Documentation
Jump to: navigation, search

FMX.StdActns.TSysCommonActionFMX.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFileExit

Delphi

TFileExit = class(TSysCommonAction)

C++

class PASCALIMPLEMENTATION TFileExit : public TSysCommonAction

Properties

Type Visibility Source Unit Parent
class public
FMX.StdActns.pas
FMX.StdActns.hpp
FMX.StdActns FMX.StdActns

Description

The standard action for shutting down the current application.

Add TFileExit to an action list to let users shut down the application using a menu, control, toolbar button, or shortcut. Clients (controls, menu commands, toolbar buttons) linked to this action cause the application to shut down.
TFileExit is not immediate, it calls the method like Terminate that closes the main form.

The default ShortCut for TFileExit is CMD+Q.

See Also