Android Question B4XPages - Changing variable value when jumping between pages

Mauricio Pereira

Member
Licensed User
Longtime User
I'm trying to change a "normal" application, in B4A, to B4xPages.
I'm attaching a small application that simulates the problem I couldn't solve.
I am, in the example, on page 2 and I click on a button to go to page 3. On this page, I have 3 checkboxes. Number 1 and number 3 are on and number 2 is off ("original" image).
On page 3, for example, I set the 3 checkboxes to off and click on the button to go back to page 2.
When, on page 2, I click on the button to show page3 again, the 3 checkboxes appear as off.
As I want the original "image" to appear (1 and 3 = on and 2 = off) I put the on/off in the sub appear on page 3. But it doesn't work!
Obviously I'm not doing the right thing!

Thanks in advance who can help.
SDK => 33 B4A => Version 12.20
 

Attachments

  • Example.zip
    37.3 KB · Views: 156
Top