Vcl.ComCtrls.TPageControl.CanShowTab
Delphi
function CanShowTab(TabIndex: Integer): Boolean; override;
C++
virtual bool __fastcall CanShowTab(int TabIndex);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TPageControl |
Description
Indicates whether a tab sheet in the page control can be selected.
Call CanShowTab to determine whether a tab can be selected or accessed.
TabIndex is the index of the tab in the list of tab sheets maintained by the Pages property.
CanShowTab returns true if the specified Tab sheet is enabled (its Enabled property is true ).