P Pepebis Member Licensed User Longtime User Oct 7, 2020 #1 Hello this is my post related to the previous one. When the Splash screen is loading it's showing error ( this is only happening when in BX4 main pageis waiting for splash screen to finish loading ) 'Wait For (ShowSplashScreen) Complete (Unused As Boolean) Click to expand... without this is working and i can sending text from page no.6 to mainpage . But ... when app is loading mainpage is running with splash screen . Please see an example. Best Regards , Przemek Attachments Project.zip Project.zip 30.4 KB · Views: 535
Hello this is my post related to the previous one. When the Splash screen is loading it's showing error ( this is only happening when in BX4 main pageis waiting for splash screen to finish loading ) 'Wait For (ShowSplashScreen) Complete (Unused As Boolean) Click to expand... without this is working and i can sending text from page no.6 to mainpage . But ... when app is loading mainpage is running with splash screen . Please see an example. Best Regards , Przemek
Erel B4X founder Staff member Licensed User Longtime User Oct 7, 2020 #2 1. You should post the error message. 2. I've ran the code and didn't see any error. Upvote 0
P Pepebis Member Licensed User Longtime User Oct 7, 2020 #3 2. Because i commented that line in B4X main page B4X: Copy 'Wait For (ShowSplashScreen) Complete (Unused As Boolean) error will show up when you uncomment it . 1. Error is java.lang.RuntimeException: Object should first be initialized (B4XView). Click to expand... Upvote 0
2. Because i commented that line in B4X main page B4X: Copy 'Wait For (ShowSplashScreen) Complete (Unused As Boolean) error will show up when you uncomment it . 1. Error is java.lang.RuntimeException: Object should first be initialized (B4XView). Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Oct 7, 2020 #4 You are missing many things. There is an example: [B4X] [B4XPages] Splash Screen Carefully follow it. Upvote 0
You are missing many things. There is an example: [B4X] [B4XPages] Splash Screen Carefully follow it.
P Pepebis Member Licensed User Longtime User Oct 7, 2020 #5 I took it from that example. Problem is when i have another page ( page6 in my example ) and when I'm trying to send a text ( on page6 ) to the label ( on main page ) B4X: Copy lblHello.Text = Page6.txtUser.Text app is not starting ( see a previous error ) . App is showing error because of this B4X: Copy Wait For (ShowSplashScreen) Complete (Unused As Boolean) Best Regards , Przemek Upvote 0
I took it from that example. Problem is when i have another page ( page6 in my example ) and when I'm trying to send a text ( on page6 ) to the label ( on main page ) B4X: Copy lblHello.Text = Page6.txtUser.Text app is not starting ( see a previous error ) . App is showing error because of this B4X: Copy Wait For (ShowSplashScreen) Complete (Unused As Boolean) Best Regards , Przemek
Erel B4X founder Staff member Licensed User Longtime User Oct 7, 2020 #6 You are missing many things. There is an example: [B4X] [B4XPages] Splash Screen Carefully follow it. Upvote 0
You are missing many things. There is an example: [B4X] [B4XPages] Splash Screen Carefully follow it.
P Pepebis Member Licensed User Longtime User Oct 7, 2020 #7 I followed. Still the same. Error is showing when it's trying to refer to that label on another page. Good thing now is that splash screen showing for few seconds before app crash Attachments Projectlatest.zip Projectlatest.zip 58.8 KB · Views: 522 Upvote 0
I followed. Still the same. Error is showing when it's trying to refer to that label on another page. Good thing now is that splash screen showing for few seconds before app crash
Erel B4X founder Staff member Licensed User Longtime User Oct 7, 2020 #8 Wow. Amazing that you are still missing the manifest change. Point #1 in the example. It crashes because the Appear event is raised before the layout is loaded. Change the code to: Code: Copy Private Sub B4XPage_Appear If lblHello.IsInitialized Then lblHello.Text = Page6.txtUser.Text End If End Sub Or better, delete it and set the label directly from page 6 when needed. Upvote 0
Wow. Amazing that you are still missing the manifest change. Point #1 in the example. It crashes because the Appear event is raised before the layout is loaded. Change the code to: Code: Copy Private Sub B4XPage_Appear If lblHello.IsInitialized Then lblHello.Text = Page6.txtUser.Text End If End Sub Or better, delete it and set the label directly from page 6 when needed.
P Pepebis Member Licensed User Longtime User Oct 7, 2020 #9 With this change in code, it's working. Thank you Earl. Upvote 0
M Mahares Expert Licensed User Longtime User Oct 7, 2020 #10 Pepebis said: Thank you Earl. Click to expand... Now, that he helped you solve your long standing issue, you need to work on spelling his name correctly. Just kidding of course. Upvote 0
Pepebis said: Thank you Earl. Click to expand... Now, that he helped you solve your long standing issue, you need to work on spelling his name correctly. Just kidding of course.
Erel B4X founder Staff member Licensed User Longtime User Oct 7, 2020 #11 I don't mind. Really. More important to pay attention to the instructions Upvote 0
LucaMs Expert Licensed User Longtime User Oct 7, 2020 #12 Mahares said: Now, that he helped you solve your long standing issue, you need to work on spelling his name correctly. Just kidding of course. Click to expand... Upvote 0
Mahares said: Now, that he helped you solve your long standing issue, you need to work on spelling his name correctly. Just kidding of course. Click to expand...