Moving between views

  1. 7 weeks ago

    Bob G

    Jan 4 Pre-Release Testers, Xojo Pro Minneapolis

    Working on a data collection app. There are several "pages." Users go through them in order. Then they reach the last page. The last page has a set of buttons, one for each page. This is the review page. Users may tap a button and go back to any previous page in case they need to make some changes. When done with changes, users tap the Next button (which previously moved them to the next page, but now reads "Review" and should take them back to the Review page).

    Question: Can this be done (safely) simply by using the "pushto" technique?

    Thanks.

  2. Art G

    Jan 4 Prescott AZ

    Nope, PushTo is strictly a stack. You can use PushTo to go through the Views in order, but once you get to the last page you'll have to use CurrentScreen.Content to change views:

    http://docs.xojo.com/iOSApplication.CurrentScreen

    and keep track of when the navigation button changes label and function.

or Sign Up to reply!