setActiveTab( String/Panel tab ) 设置特定的tab为活动面板。此方法触发beforetabchange事... 设置特定的tab为活动面板。此方法触发beforetabchange事件,若处理函数返回false则取消tab切换。Sets the specified tab as the active tab. This method fires the beforetabchange event which can return false to cancel the tab change. 参数项: tab : String/Panel 活动面板或其id。The id or tab Panel to activate 返回值: void 使用 tabPanel.setActiveTab("要激活的面板id");
设置特定的tab为活动面板。此方法触发beforetabchange事...
设置特定的tab为活动面板。此方法触发beforetabchange事件,若处理函数返回false则取消tab切换。Sets the specified tab as the active tab. This method fires the beforetabchange event which can return false to cancel the tab change.
参数项:
tab : String/Panel
活动面板或其id。The id or tab Panel to activate
返回值:
void
使用
tabPanel.setActiveTab("要激活的面板id");
tabPaenl.insert(0,newpan);
tabPanel.insert(0,newpan);
键盘真难用