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

TFileSaveAs

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

TFileSaveAs - standard action (including opening a dialog) associated with the File Save As menu option.

Declaration

Source position: stdactns.pas line 195

type TFileSaveAs = class(TFileAction)

protected

  function GetDialogClass; override;

  

Returns the class type for the dialog associated with this action.

published

  property Caption: TTranslateString;

  

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

  property Dialog: TSaveDialog; [r]

  

The Save Dialog to be used with this action.

  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 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 BeforeExecute: TNotifyEvent;

  

BeforeExecute - event handler for performance before execution of the action.

  property OnAccept: TNotifyEvent;

  

OnAccept - event handler for a press of the Accept button.

  property OnCancel: TNotifyEvent;

  

OnCancel - event handler for a press of the Cancel button.

  property OnHint: THintEvent;

  

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

end;

Inheritance

TFileSaveAs

  

TFileSaveAs - standard action (including opening a dialog) associated with the File Save As menu option.

|

TFileAction

  

TFileAction - base class for providing actions associated with various file dialogs and menu options.

|

TCommonDialogAction

  

Dialog action used to create, configure, display, and execute a dialog form.

|

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

Description

TFileSaveAs is a standard action (including opening a dialog) associated with the File Save As menu option. Gives the user an opportunity to select or enter a name to use for saving the file.

See also

TFileAction

  

TFileAction - base class for providing actions associated with various file dialogs and menu options.


Version 3.2 Generated 2024-02-25 Home