RAD Studio VCL Reference
|
Add a file type to the collection.
function Add: TFileTypeItem;
__fastcall TFileTypeItem Add();
Add adds a file type to the file types collection. After you add the file type, you need to set its properties as in this sample:
with FileOpenDialog1.FileTypes.Add do begin DisplayName := ‘All Files’; FileMask := ‘*.*’; end;
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|