Vcl.Controls.TWinControl.ShowControl
Delphi
procedure ShowControl(AControl: TControl); virtual;
C++
virtual void __fastcall ShowControl(TControl* AControl);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TWinControl |
Description
Ensures that a specified child control is visible.
Call ShowControl to display a child control. Specify the control you want to ensure will be visible as the value of the AControl parameter.
As implemented in TWinControl, ShowControl simply calls the ShowControl method of the control's parent. Derived objects override ShowControl to perform whatever actions are necessary to allow the indicated child object to be visible. Possible actions include scrolling the particular child object into view, or changing to the appropriate notebook page.