Vcl.ExtCtrls.TNotebook.ShowControl

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ShowControl(AControl: TControl); override;

C++

virtual void __fastcall ShowControl(Vcl::Controls::TControl* AControl);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TNotebook

Description

Ensures that a specified child control is visible.

Vcl.ExtCtrls.TNotebook.ShowControl inherits from Vcl.Controls.TWinControl.ShowControl. All content below this line refers to Vcl.Controls.TWinControl.ShowControl.

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.

See Also