Unit 'ExtCtrls' Package
[Overview][Types][Classes][Procedures and functions][Index] [#lcl]


Displays the specified control (page object).


Source position: extctrls.pp line 137

public procedure TNotebook.ShowControl(

  AControl: TControl

); override;




Page object to display in the notebook control.


ShowControl is an overridden procedure used to display the control specified in AControl. ShowControl checks the internal list of pages for the value specified in AControl. The ordinal position for the page object, when found, is assigned to the PageIndex property and causes the page object to become visible.

ShowControl calls the inherited method prior to exit.

Remark: No actions are performed in the method when AControl is the same as the control stored in the ActivePageComponent property.

See also



Provides access to a page object in the notebook control by its ordinal position in the list of pages.



Ordinal position for the active page in the notebook control.



Contains the TPage instance representing the active page in the notebook control.

CT Web help

CodeTyphon Studio