重要
setDisplayState 方法将弃用 2021 版本第 1 版(2021 年 4 月)。 使用 Unified Interface 中的 setFocus 方法确保窗体上打开正确的选项卡。
设置选项卡的显示状态。
Syntax
tabObj.setDisplayState(state);
参数
| Name | 类型 | 必选 | Description |
|---|---|---|---|
state |
String | 是的 | 指定“expanded”或“collapsed”。 |
重要
setDisplayState 方法将弃用 2021 版本第 1 版(2021 年 4 月)。 使用 Unified Interface 中的 setFocus 方法确保窗体上打开正确的选项卡。
设置选项卡的显示状态。
tabObj.setDisplayState(state);
| Name | 类型 | 必选 | Description |
|---|---|---|---|
state |
String | 是的 | 指定“expanded”或“collapsed”。 |