What are the solutions for a wizard like application (a single form with content changed depending on some action) in Firemonkey?

What are the solutions for a wizard like application (a single form with content changed depending on some action) in Firemonkey?
I've been using TFormStand to have a single form and load frames dynamically, but have some AV in the stept when changing frames.
The other way I think I could use tabs and plaing with page indexes.
What keeps me away from using tabs is the possible of application size, or maybe I am wrong.
What are your way for such apps?

Comments

  1. TFrameStand looks like a viable option. What's wrong with debugging and fixing those AVs?

    ReplyDelete
  2. Uwe Raabe Havind a Form, Frame1 and Fram2, Frame1 is the active one and need to display the Frame2 by pressing a button on Frame1. The Frame2 is displayed (and Frame1 is distroyed), but after that the process returns to the button action to complette, and here is the AV.
    I've used the wizard sample from the TFrameStand.

    ReplyDelete
  3. I use tabs solution. What I do to maintain the simplicity is that the wizard is only the HMI part, and his target is collect data to know in the final tab, what things the application need to do.

    From the last tab I call a Controller that makes all the things.
    https://plus.google.com/photos/...

    ReplyDelete
  4. R Gosp TFrame3 already shows an example of how to solve your problem in method FinishButtonClick.

    ReplyDelete
  5. Uwe Raabe it shows the finish of entire process not the transition from fram1 to frame2. It would be ok if I will have a button on main form that will manage transitions, but I need that button on the frame.

    ReplyDelete
  6. Jeroen Wiert Pluimers, I don't know why but Release method has been marked as deprecated.

    ReplyDelete
  7. R Gosp It shows how to execute an action that destroys the current frame from an event inside that frame.

    ReplyDelete
  8. Thank you Dalija Prasnikar. I still don't understand why they deprecate it instead of solving the bug in the Android platform.

    ReplyDelete
  9. Christen Blom-Dahl I did not notice that yet, likely because my Delphi is not the most recent version.

    ReplyDelete
  10. Marco Cantù, do you know why the Release method has been marked as deprecated in TFmxObject? And which is the recommended alternative?

    ReplyDelete
  11. TFrameStand can help and I can share a demo for a carousel-like application (different contents implemented through specific frames and an animated stand implementing the carousel)...

    ReplyDelete
  12. Andrea Magni Would like to see that if it is possible

    ReplyDelete
  13. I decided to continue working with TFrameStand, will try to manage resources more accurately

    ReplyDelete

Post a Comment