RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFileRun.Browse Property

Controls whether an open dialog automatically appears to let users browse for the target file.

Pascal
property Browse: Boolean;
C++
__property Boolean Browse;

Browse controls whether TCustomFileRun displays the dialog specified by BrowseDlg when it fires, letting users select the target file to be launched. When Browse is true, firing TCustomFileRun displays the open dialog specified by BrowseDlg, and then (if the user does not cancel) performs the operation specified by Operation on the chosen file. When Browse is false, your application must specify the target file by explicitly setting the FileName property.

Note: When Browse is true, TCustomFileRun ignores the FileName property.
 

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