RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomFileRun.ParentControl Property

Indicates the control that parents any dialogs or windows needed when launching the target file.

Pascal
property ParentControl: TWinControl;
C++
__property TWinControl * ParentControl;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!