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

TFileExit

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TFileExit - standard action (closing file and terminating application) associated with the File Exit menu option.

Declaration

Source position: stdactns.pas line 262

type TFileExit = class(TCustomAction)

public

  function HandlesTarget(); override;

  procedure ExecuteTarget(); override;

  

Executes the action for the target control.

published

  property Caption: TTranslateString;

  

The Caption to be used if this action is associated with a visible component.

  property Enabled: Boolean;

  

Enabled - whether this action is able to be used (default is True).

  property HelpContext: THelpContext;

  

HelpContext - the index for a context-based help message.

  property HelpKeyword: string;

  

HelpKeyWord - the keyword of a context-based help message.

  property HelpType: THelpType;

  

HelpType - the sort of help message to be offered: default Context-based.

  property Hint: TTranslateString;

  

Hint - a pop-up message that appears when the mouse hovers over an object.

  property ImageIndex: TImageIndex;

  

ImageIndex - the index number of the image to be associated with this action.

  property ShortCut: TShortCut;

  

ShortCut- an index to a shortcut list.

  property SecondaryShortCuts: TShortCutList;

  

SecondaryShortCuts - a stringlist containing shortcuts.

  property Visible: Boolean;

  

Visible - is this action visible? (default True).

  property OnHint: THintEvent;

  

OnHint - action to be taken when a hint is required.

end;

Inheritance

TFileExit

  

TFileExit - standard action (closing file and terminating application) associated with the File Exit menu option.

|

TCustomAction

  

TCustomAction is the ancestor class for TAction.

|

TContainedAction

  

Implements an Action class which has a category and parent action list.

|

TBasicAction

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent,IFPObserved

|

TObject

See also

TCustomAction

  

TCustomAction is the ancestor class for TAction.


Version 3.2 Generated 2024-02-25 Home