[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomTabControl.ShowControl

Makes the specified page object the active page in the tabbed control.

Declaration

Source position: comctrls.pp line 447

protected procedure TCustomTabControl.ShowControl(

  APage: TControl

); override;

Arguments

APage

  

Page object to locate and display in the method.

Description

ShowControl gets the position for the control specified by the APage argument in the Page property, and makes it the active page in the tabbed control. If the control is not found in Page, the inherited ShowControl method is called to display the control.

ShowControl is provided for Delphi compatibility.

See also

TCustomTabControl.Page

  

The current Page of the Notebook.

TCustomTabControl.IndexOf

  

IndexOf - returns the index value of a specified page.

TCustomTabControl.PageIndex

  

PageIndex - Index number of the current page.

TCustomTabControl.PageToTabIndex

  

Maps the LCL page to the tab index in the widgetset class.

TCustomTabControl.TabToPageIndex

  

Gets the real page index for the specified tab.

TWinControl.ShowControl

  

Asks the parent to show itself.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.