RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCommonDialog.Execute Method ()

Displays the dialog box.

Pascal
function Execute: Boolean; virtual; overload;
function Execute(ParentWnd: HWND): Boolean; virtual; abstract; overload;
C++
virtual __fastcall Boolean Execute();
virtual __fastcall Boolean Execute(HWND ParentWnd) = 0;

TCommonDialog introduces the abstract Execute method, which descendant classes use to open the dialog instance at runtime. Generally, Execute returns true when the user makes a selection and clicks OK, and returns false when the user closes the dialog without making a selection. 

 

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