roddy Member Licensed User Longtime User Dec 1, 2014 #1 B4X: NavControl = Nav Main.Initialize("Main") Main.Title = "VIP" Main.RootPanel.Color = Colors.White Main.RootPanel.LoadLayout("Main") NavControl.ShowPage(Main) Msgbox("111","") My project first screen is Black in debug mode, but it's OK in "Build Release APP". If this line of command (Msgbox("111","")) less,the screen is Black. Nothing display. Add Msgbox("111","") ,the screen will display properly. Is bug? Or I missed something?
B4X: NavControl = Nav Main.Initialize("Main") Main.Title = "VIP" Main.RootPanel.Color = Colors.White Main.RootPanel.LoadLayout("Main") NavControl.ShowPage(Main) Msgbox("111","") My project first screen is Black in debug mode, but it's OK in "Build Release APP". If this line of command (Msgbox("111","")) less,the screen is Black. Nothing display. Add Msgbox("111","") ,the screen will display properly. Is bug? Or I missed something?
Erel B4X founder Staff member Licensed User Longtime User Dec 1, 2014 #2 Can you upload your project (File - Export as zip)? Upvote 0
klaus Expert Licensed User Longtime User Dec 1, 2014 #4 You should not name the main page Main which is the name of the Main module. If you replace Main by MainPage for the main Page it works ! Upvote 0
You should not name the main page Main which is the name of the Main module. If you replace Main by MainPage for the main Page it works !
roddy Member Licensed User Longtime User Dec 2, 2014 #5 After changing the name on OK. Thank you very much. Upvote 0