TnP Member Licensed User Longtime User Aug 22, 2019 #1 Hi All, How can I minimize a window through code? Unfortunately, the website quoted in the thread below is no longer around. https://www.b4x.com/android/forum/threads/minimize-window-and-maximize-window.49585/#post-309389 Thanks! Terry Last edited: Aug 22, 2019
Hi All, How can I minimize a window through code? Unfortunately, the website quoted in the thread below is no longer around. https://www.b4x.com/android/forum/threads/minimize-window-and-maximize-window.49585/#post-309389 Thanks! Terry
Erel B4X founder Staff member Licensed User Longtime User Aug 22, 2019 #2 B4X: Dim jo As JavaObject = Form1 jo.GetFieldJO("stage").RunMethod("setIconified", Array(True)) Upvote 0
E emexes Expert Licensed User Aug 22, 2019 #3 Backup plan: B4X: MainForm.WindowLeft = -MainForm.WindowLeft not as nice as setIconified method, but for some use cases might be simpler Upvote 0
Backup plan: B4X: MainForm.WindowLeft = -MainForm.WindowLeft not as nice as setIconified method, but for some use cases might be simpler