Vcl.ExtActns.TFileRun.BrowseDlg
Delphi
property BrowseDlg: TOpenDialog read FBrowseDlg write SetBrowseDlg;
C++
__property BrowseDlg;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.ExtActns.pas Vcl.ExtActns.hpp |
Vcl.ExtActns | TFileRun |
Description
Specifies the dialog that allows users to select the target file to run.
Vcl.ExtActns.TFileRun.BrowseDlg inherits from Vcl.ExtActns.TCustomFileRun.BrowseDlg. All content below this line refers to Vcl.ExtActns.TCustomFileRun.BrowseDlg.
Specifies the dialog that allows users to select the target file to run.
Use BrowseDlg when the Browse property is true to configure the dialog that users use to select a target file. By expanding BrowseDlg in the Object Inspector at design time, or by setting its properties at runtime, you can customize the way the dialog first appears when the action fires.
By default, BrowseDlg is an internally-generated TOpenDialog object. When using the default dialog, there is no need to explicitly add a dialog component to your application. If you want to use a specialized TOpenDialog descendant (such as TOpenPictureDialog), however, set BrowseDlg to an open dialog component you place in the same form or data module as the TCustomFileRun action.