API:Vcl.ExtActns.TFileRun.ParentControl
Delphi
property ParentControl;
C++
__property ParentControl;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.ExtActns.pas Vcl.ExtActns.hpp |
Vcl.ExtActns | TFileRun |
Description
Indicates the control that parents any dialogs or windows needed when launching the target file.
Vcl.ExtActns.TFileRun.ParentControl inherits from Vcl.ExtActns.TCustomFileRun.ParentControl. All content below this line refers to Vcl.ExtActns.TCustomFileRun.ParentControl.
Indicates the control that parents any dialogs or windows needed when launching the target file.
Set ParentControl to a control that Windows can use as a parent for dialogs and message boxes. For example, if Operation is "properties", ParentControl is the parent of the resulting properties dialog. If TCustomFileRun fails to launch the target application, ParentControl may be the parent of an error message. Typically, ParentControl is set to the application's main form.