Vcl.ExtActns.TSavePicture.Dialog

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Dialog: TSavePictureDialog read GetDialog;

C++

__property Vcl::Extdlgs::TSavePictureDialog* Dialog = {read=GetDialog};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ExtActns.pas
Vcl.ExtActns.hpp
Vcl.ExtActns TSavePicture

Description

Provides access the save picture dialog that the action executes.

Use Dialog to configure the graphics file "save as" dialog before the action fires or to read the specified file name after the action executes the dialog. For example, you can set the dialog's default extension or initial file name at design time using the Object Inspector or read the dialog's FileName property from an OnAccept event handler to use the file name that the user selects.

When using a save picture action, you do not place a TSavePicture Dialog component on the form or data module at design time. Instead, you add the TSavePicture object to your action list and then use the Dialog property. The dialog component is created by the TSavePicture constructor.

See Also