Vcl.ExtDlgs.TOpenPictureDialog.Execute

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Execute(ParentWnd: HWND): Boolean; override;

C++

virtual bool __fastcall Execute(HWND ParentWnd)/* overload */;
inline bool __fastcall  Execute(){ return Vcl::Dialogs::TCommonDialog::Execute(); }

Properties

Type Visibility Source Unit Parent
function public
Vcl.ExtDlgs.pas
Vcl.ExtDlgs.hpp
Vcl.ExtDlgs TOpenPictureDialog

Description

Displays the file-selection dialog.

Execute opens the file-selection dialog, returning true when the user selects a file and clicks Open. If the user clicks Cancel, Execute returns false.

Code Examples