RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSavePicture.Dialog Property

Provides access the save picture dialog that the action executes.

Pascal
property Dialog: TSavePictureDialog;
C++
__property TSavePictureDialog Dialog;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!