[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TFileDialog allows selection of a file from the current directory.
Source position: dialogs.pp line 140
type TFileDialog = class(TCommonDialog) |
||
protected |
||
class procedure WSRegisterClass; override; |
|
Registers this component class with the current WidgetSet. |
function GetFilterIndex; virtual; |
|
GetFilterIndex - returns the Index value for the filename filter. |
procedure SetFileName(); virtual; |
|
SetFileName - specifies the filename in the file dialog. |
procedure SetFilter(); virtual; |
|
SetFilter - specifies the Filter for use in filename searching. |
procedure SetHistoryList(); virtual; |
|
SetHistoryList - specifies a list of strings that have been used in searching. |
public |
||
constructor Create(); override; |
|
Constructor for the class instance. |
destructor Destroy; override; |
|
Destructor for the class instance. |
procedure DoCanClose(); override; |
|
|
procedure DoTypeChange; virtual; |
|
DoTypeChange - perform the code for the OnTypeChange event. |
property Files: TStrings; [r] |
|
Stringlist which stores the names of the selected files. |
property HistoryList: TStrings; [rw] |
|
HistoryList - stringlist containing the names of files recently accessed. |
procedure IntfFileTypeChanged(); |
|
IntfFileTypeChanged - interface method for file type change. |
class function FindMaskInFilter(); |
||
class function ExtractAllFilterMasks(); |
||
published |
||
property Title: TTranslateString; |
|
The Title or Caption displayed for the dialog. |
property DefaultExt: string; [rw] |
|
Sets the default file extension for the file dialog box. |
property FileName: string; [rw] |
|
String storing the name of the file chosen by the user as UTF8 |
property Filter: string; [rw] |
|
A string which contains possible filename filters (e.g. .doc, .xmp, .pas etc). |
property FilterIndex: Integer; [rw] |
|
This property sets which file filter is the default. |
property InitialDir: string; [rw] |
|
Set the directory the dialog shows on opening. |
property OnHelpClicked: TNotifyEvent; [rw] |
|
Event handler when the Help button is clicked. |
property OnTypeChange: TNotifyEvent; [rw] |
|
Event Handler when the selected file type is changed. |
end; |
|
TFileDialog allows selection of a file from the current directory. |
|
| | ||
|
The base type from which other dialogs are derived. |
|
| | ||
|
The base class for LCL components which have an associated widget. |
|
| | ||
TComponent |
||
? | ||
TObject |
TFileDialog allows selection of a file from the current directory. This is also the base class for the Open and Save (As) dialogs.