How do you make the coding for a back to a previous screen button?

How do you make the coding for a back to a previous screen button?

when  btnBack .Click do

1 Like

Ohh thanks a lot. It lets you view the previous screen right?

If you have not closed that previous screen previously (makes sense?), it should.

1 Like

Yes. The concept here is simple:

When the app is opened, think of it as putting a to-do list on your desk. When you open a new screen, you add another paper on top of the to-do list - instead of switching to the new screen, you add it on top of the current one. To go back, you must remove one "paper" at a time to reveal the last opened screen. You should not open a previously open screen - opening too many will quickly fill up the Android memory and may cause your app to crash.

Yes, these are the examples my brain thinks of. :grin:

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.