S sorex Expert Licensed User Longtime User Jun 27, 2020 #1 Hello, I noticed that setting the transition animation duration is only valid for pages that are not the first one its showing. If you put your menu inside B4XMainPage you can work away some black screen delays but then you see the menu in the top left corner zoomed out before it show it normal. Even if you set it to 5 seconds that issue is still 250ms visible or so. all other pages need 5 seconds to zoom in. If the problem is that things already start at init we probably need an initialize2 which defines the delay value at ones. Or set it fixed to 0 for the app start page.
Hello, I noticed that setting the transition animation duration is only valid for pages that are not the first one its showing. If you put your menu inside B4XMainPage you can work away some black screen delays but then you see the menu in the top left corner zoomed out before it show it normal. Even if you set it to 5 seconds that issue is still 250ms visible or so. all other pages need 5 seconds to zoom in. If the problem is that things already start at init we probably need an initialize2 which defines the delay value at ones. Or set it fixed to 0 for the app start page.
agraham Expert Licensed User Longtime User Jun 27, 2020 #2 The animation the first time a page is created is the animation defined in the layout file loaded onto the page. Upvote 0
The animation the first time a page is created is the animation defined in the layout file loaded onto the page.
S sorex Expert Licensed User Longtime User Jun 27, 2020 #3 I don't have one for the initial main page and don't use any on the other pages. Upvote 0
S sorex Expert Licensed User Longtime User Jun 27, 2020 #4 I think I have a workaround. I start code with a delay timer and that seems to freeze that animation. when changing it to start after 200ms instead of 50ms it opens instantly without the zoomed out display. so it seems that it's not a bug but an execution issue from my side. Last edited: Jun 27, 2020 Upvote 0
I think I have a workaround. I start code with a delay timer and that seems to freeze that animation. when changing it to start after 200ms instead of 50ms it opens instantly without the zoomed out display. so it seems that it's not a bug but an execution issue from my side.
Erel B4X founder Staff member Licensed User Longtime User Jun 28, 2020 #5 Moved to the questions forum. Upvote 0