RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPageControl.ShowControl Method

Displays a specified page.

Pascal
procedure ShowControl(AControl: TControl); override;
C++
virtual __fastcall ShowControl(TControl * AControl);

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). 

 

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