RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFileRun.BrowseDlg Property

Specifies the dialog that allows users to select the target file to run.

Pascal
property BrowseDlg: TOpenDialog;
C++
__property TOpenDialog BrowseDlg;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!