Sign in Join
FPDoc Onlineexperiment

TCustomPage.TabVisible property

Member of TCustomPagepublicIn unit ComCtrls

Indicates if the tab in the Parent control is visible.

Declaration

pascal
property 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.