Vcl.ExtActns.TOpenPicture
Delphi
TOpenPicture = class(TCommonDialogAction)
C++
class PASCALIMPLEMENTATION TOpenPicture : public Vcl::Stdactns::TCommonDialogAction
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.ExtActns.pas Vcl.ExtActns.hpp |
Vcl.ExtActns | Vcl.ExtActns |
Description
TOpenPicture is the standard action for displaying the open picture dialog.
Add TOpenPicture to an action list to add a graphics file selection dialog to your application. Controls such as menu items and tool buttons linked to this action cause the application to display the open 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.