Vcl.ComCtrls.TPageControl.ShowControl
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.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TPageControl |
Description
Displays a specified page.
ShowControl is called automatically when a particular page of the page control should be visible. The AControl parameter specifies the page that should be displayed on screen.
ShowControl makes the specified page active it is not already active, and sets its own Visible property to true. It then calls the ShowControl method of its parent object to ensure that the page control is showing (and therefore able to display the active page).