RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomFileDialog.CreateFileDialog Method

Create a file dialog.

Pascal
function CreateFileDialog: IFileDialog; virtual; abstract;
C++
virtual __fastcall IFileDialog CreateFileDialog() = 0;

This method creates a file dialog. Since it is an abstract method that is not implemented, it must be overridden and implemented by any class extending TCustomFileDialog. The implementation should create a Windows common item dialog, usually using the Windows function CoCreateInstance. 

 

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