E electro179 Active Member Licensed User Longtime User Jun 18, 2014 #1 Hi How to open a program directly in full screen and not use #MainFormWidth: 1024 #MainFormHeight: 600 thank you
Hi How to open a program directly in full screen and not use #MainFormWidth: 1024 #MainFormHeight: 600 thank you
Erel B4X founder Staff member Licensed User Longtime User Jun 18, 2014 #2 B4X: Sub AppStart (Form1 As Form, Args() As String) MainForm = Form1 MainForm.WindowWidth = fx.PrimaryScreen.MaxX - fx.PrimaryScreen.MinX MainForm.WindowLeft = fx.PrimaryScreen.MinX MainForm.WindowHeight = fx.PrimaryScreen.MaxY - fx.PrimaryScreen.MinY MainForm.WindowTop = fx.PrimaryScreen.MinY MainForm.Show End Sub Upvote 0
B4X: Sub AppStart (Form1 As Form, Args() As String) MainForm = Form1 MainForm.WindowWidth = fx.PrimaryScreen.MaxX - fx.PrimaryScreen.MinX MainForm.WindowLeft = fx.PrimaryScreen.MinX MainForm.WindowHeight = fx.PrimaryScreen.MaxY - fx.PrimaryScreen.MinY MainForm.WindowTop = fx.PrimaryScreen.MinY MainForm.Show End Sub