RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOpenTextFileDialog.Execute Method

Displays the file-selection dialog.

Pascal
function Execute(ParentWnd: HWND): Boolean; override;
C++
virtual __fastcall Boolean Execute(HWND ParentWnd);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!