页面布局如上图所示,点击进入按钮跳转到写一个界面,那么“进入”的回调函数应该是什么样子的呢?

 function Button_EnterPushed(app, event)
            app.TabGroup.SelectedTab = app.Tab_4;    
 end

 function Button_EnterPushed(app, event)
            app.TabGroup.SelectedTab = app.Tab_4;    
 end

 function Button_EnterPushed(app, event)
            app.TabGroup.SelectedTab = app.Tab_4;    
 end

 function Button_EnterPushed(app, event)
            app.TabGroup.SelectedTab = app.Tab_4;    
 end

 function Button_EnterPushed(app, event)
            app.TabGroup.SelectedTab = app.Tab_4;    
 end

通过上述代码就可实现该命令。

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐