Announcement

Collapse
No announcement yet.

Switching Forms

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Switching Forms

    Is there a serial command (not Genie) which allows the switching of complete forms?

    Basically, I want to change back and forth between two forms with a touch of the screen.
    I can clear the screen and reload all the objects, but I was hoping that there was a better way.

  • #2
    Hi,

    In Serial SPE this has to be done manually like you are doing, generally it would be done in functions on your microcontroller eg

    void ShowForm1(){
    // all widgets added here
    CurrentForm = 1;
    }

    You can then use the CurrentForm variable in the loop to control touch etc

    if(CurrentForm == 1){
    // process form1 functions
    }

    Best regards

    Paul

    Comment


    • #3
      Yes, that is what I am doing now.
      I was just wondering if, like in Genie, you could simply change to a specific form number, but as you have now confirmed, you cannot.

      Thanks for the quick response.

      Comment

      Working...
      X