tab.setVisible (Client API reference)
Sets a value that indicates whether the tab is visible.
Syntax
tabObj.setVisible(bool);
Parameter
Name | Type | Required | Description |
---|---|---|---|
bool |
Boolean | Yes | Specify true to show the tab; false to hide the tab. |
Remarks
Another way to hide a tab is to hide all the sections within it. If all the sections within a tab are not visible, the tab will not be visible.
Note
If you set the value to false, the first visible tab is shown by default. If there are no visible tabs, the body of the form will show as a blank page.
Related articles
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för