Determines if a given tab is visible.
Usage
Set_Property(OLECtrlEntID, "OLE.TabVisible[key]", Boolean)
Values
Boolean can be True or False.
Default: True
Indices
Index | Description |
---|---|
key | The target tab's unique key |
Remarks
The TabVisible property gets or sets the current visibility state of a given tab. When you defined the tab during the Init method, you gave it a unique key. You must pass that key in order to show or hide it. When this property is set to false, the tab is visibly removed from the ribbon, though it still exists and can be manipulated programmatically.
Example
// Hide the Home tab Set_Property(@Window:".OLE_RIBBON", "OLE.TabVisible[HOME]", 0)