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

TTabSheet.TabVisible

Indicates if the tab is visible in the Parent control.

Declaration

Source position: comctrls.pp line 568

published property TTabSheet.TabVisible : Boolean
  default True;

Description

TabVisible indicates if the Tab is visible in the Parent control. The default value for the property is True in TTabSheet.

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.

See also

TCustomPage.TabVisible

  

Indicates if the tab in the Parent control is visible.


Version 3.2 Generated 2024-02-25 Home