C1Tab Reference > C1Tab Properties > TabVisible Property |
Returns or sets the visible status for a given tab.
[form!]C1Tab.TabVisible(Index As Integer)[ = {True | False} ]
Setting TabVisible to False hides the specified tab and its associated page. The user cannot activate hidden pages with the mouse or keyboard, but the programmer can activate a hidden tab using code. Setting TabVisible to True makes the specified tab page visible again.
You can change the caption, color, picture, and enabled state of a tab using the TabCaption, TabColor, TabPicture, and TabEnabled properties.
Tabs are numbered from zero to NumTabs - 1. Trying to get or set the TabVisible property of a tab outside this range will trigger an invalid index error.
Boolean