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

# TCustomPage.TabVisible

Indicates if the tab in the Parent control is visible.

## Declaration

Source position: comctrls.pp line 268

`public property TCustomPage.TabVisible : Boolean read GetTabVisible write SetTabVisible default True;`

## Description

TabVisible indicates if the Tab in the Parent control is visible.

Changing the value in the property cause the Parent control to be updated to reflect the new value. No actions are performed in the method at design-time, or when the property value is not different than the stored value.

When the Parent control has been assigned and has a handle allocated, the TCustomTabControl in Parent is updated to reflect the new value for the property. When True, the active page in the Parent control is changed to the current page instance if one has not already been assigned in the Parent. The page and its handle are removed from the Tab control when the property value is False.

Use IsControlVisible to determine if the page is currently the active page displayed in the Parent tab control.