1
我想在加載表單(屏幕)時動態刪除sideMenuBar
。目前我正在使用removeAllCommands()
方法刪除命令。但這對我來說並不好,我只想移除整個sideMenuBar
。 你能讓我怎麼解決它嗎?Codenameone:從屏幕中刪除sidemenubar(表單)
我想在加載表單(屏幕)時動態刪除sideMenuBar
。目前我正在使用removeAllCommands()
方法刪除命令。但這對我來說並不好,我只想移除整個sideMenuBar
。 你能讓我怎麼解決它嗎?Codenameone:從屏幕中刪除sidemenubar(表單)
目前還不清楚你真的在問什麼,但我猜你正在尋找SideMenuBar.closeCurrentMenu()
。
這個問題還不清楚。你需要解釋你實際上試圖達到爲什麼現有方法不起作用(當你這樣做時發生了什麼)並理想地提供屏幕截圖。您還需要指出您是使用「工具欄」還是「SideMenuBar」 –