B4J Question In Windows 10, is it Normal for an Application Made Using B4J v9.3 to Flicker When Using B4XPages.ShowPageAndRemovePrevious? [Solved]

JGParamo

Active Member
Licensed User
Changing from one B4XPage to another using .ShowPage() looks like window closes and re-opens. Is it normal for an executable done using B4J that uses B4XPages? If it is, it seems in-professional way of showing such views as smooth, seamless transition between views is most desired. Any advice on resolving such issue? I have attached the gif image (reduced size due to upload limit) showing the flicker. Thanks.
 

Attachments

  • ezgif.com-gif-maker(2).gif
    ezgif.com-gif-maker(2).gif
    253.6 KB · Views: 158

JGParamo

Active Member
Licensed User
Thanks Erel. I forgot that I have used B4XPages.ShowPageAndRemovePreviousPages to call other pages, not only B4XPages.ShowPage. Yeah, not using B4XPages.ShowPageAndRemovePreviousPages avoids the flicker but then you have multiple windows/pages being opened. I may create another thread on how to use B4XPages without flicker (by not using B4XPages.ShowPageAndRemovePreviousPages)...changing this thread's title for clarity. I'm so grateful for your answer. Cheers. I understood it by now that the observed "flicker" is due to the successive closing of one page and then opening a new one when using B4XPages.ShowPageAndRemovePreviousPages. I see it necessary to use panes instead of pages to avoid such "flicker."
 
Last edited:
Upvote 0
Top