• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. Open and Close of multiple forms

Stats

  • Replies 0
  • Subscribers 159
  • Views 12257
  • Members are here 0
More Content

Open and Close of multiple forms

SkilSiao
SkilSiao over 13 years ago

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. 

  • Sign in to reply
  • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information