RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSavePicture Class

TSavePicture is the standard action for displaying the save picture dialog.

Pascal
TSavePicture = class(TCommonDialogAction);
C++
class TSavePicture : public TCommonDialogAction;

ExtActns

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

 

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