Vcl.ExtActns.TCustomFileRun.ParentControl

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ParentControl: TWinControl read FParentControl write SetParentControl;

C++

__property Vcl::Controls::TWinControl* ParentControl = {read=FParentControl, write=SetParentControl};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ExtActns.pas
Vcl.ExtActns.hpp
Vcl.ExtActns TCustomFileRun

Description

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.

See Also