Vcl.StdActns.TFileSaveAs

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.StdActns.TFileActionVcl.StdActns.TCommonDialogActionVcl.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponentSystem.Classes.TPersistentTFileSaveAs

Delphi

TFileSaveAs = class(TFileAction)

C++

class PASCALIMPLEMENTATION TFileSaveAs : public TFileAction

Properties

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

Description

TFileSaveAs is the standard action for displaying a file save as dialog.

Add TFileSaveAs to an action list to add a common file save dialog to your application. Controls such as menu items and tool buttons linked to this action cause the application to display a file save dialog when invoked. Use the OnAccept event to respond after the user selects a file name in the file save dialog or the OnCancel event to respond when the user cancels from the dialog. In the event handler for these events, you can read the file name from the dialog specified by the Dialog property.

See Also