[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'fpg_dialogs' (#fpgui)

TfpgFileDialog

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

File Open or File Save dialog.

Declaration

Source position: fpg_dialogs.pas line 149

type TfpgFileDialog = class(TfpgBaseDialog)

protected

  procedure HandleKeyPress(); override;

  procedure btnOKClick(); override;

  procedure SetCurrentDirectory();

public

  FileName: String;

  

The filename selected by the user.

  constructor Create(); override;

  destructor Destroy; override;

  function RunOpenFile;

  

Open the dialog as a File Open dialog.

  function RunSaveFile;

  

Open the dialog as File Save dialog.

  property Filter: String; [rw]

  

File mask filters available in the dialog.

  property FontDesc: String; [rw]

  property InitialDir: String; [rw]

  property ShowHidden: Boolean; [rw]

  

If set to True the dialog will list hidden files as well.

end;

Inheritance

TfpgFileDialog

  

File Open or File Save dialog.

|

TfpgBaseDialog

  

An abstract dialog which forms the basis of other dialogs.

|

TfpgForm

?

TObject

Description

This dialog acts as both the File Open or File Save dialog used in fpGUI applications. The specific one needed can be launched by the TfpgFileDialog.RunOpenFile or the TfpgFileDialog.RunSaveFile methods.


Documentation generated on: 2010-08-30