Home > Community > Forums > PCB SKILL > Open and Close of multiple forms

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Open and Close of multiple forms 

Last post Wed, Jun 27 2012 7:52 PM by SkilSiao. 0 replies.
Started by SkilSiao 27 Jun 2012 07:52 PM. Topic has 0 replies and 1910 views
Page 1 of 1 (1 items)
Sort Posts:
  • Wed, Jun 27 2012 7:52 PM

    • SkilSiao
    • Top 200 Contributor
    • Joined on Tue, Oct 11 2011
    • Posts 38
    • Points 565
    Open and Close of multiple forms Reply

    Hi, I want to make a "Next" button on my_form1 such that it shall call my_form2 when it is pressed by users.

    and a "Back" button on my my_form2 such that it shall call my_form1 when it is activated. 

    the functions looks like this : 

    procedure(MY_form1_Init()

    my_form1 = axlFormCreate(...'My_form1_action ... )

    axlFormDisplay(my_form1)   ) ; end initialization function

     

     ;action function

    procedure( My_form1_action(my_form1) 

    case(my_form1->curField

    ...

    ("next" ... axlFormClose(my_form1)

    my_form2 = axlFormCreate( ...'My_form2_action ... )

    axlFormDisplay(my_form2) 

    ) ; end next 

    ... 

    ) ; end case

    ) ; end my_form1_action

     

    At the "next", after closing my_form1, my_form2 is open. if i do the same for "back" at my_form2 (close my_form2 and

    open my_form1), i suppose this will result in nested loop... how shall i go around with this? such that i can ensure my_form1 is

    closed completely (exit from the action function) before the form2 is open... thx in advance. 

    • Post Points: 5
Page 1 of 1 (1 items)
Sort Posts:
Started by SkilSiao at 27 Jun 2012 07:52 PM. Topic has 0 replies.