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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈