• 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. Custom IC SKILL
  3. cancel button does not work when using hiCreateAppForm ...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 13561
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

cancel button does not work when using hiCreateAppForm function

gs748
gs748 over 10 years ago

Hello,

In My SKILL script I am using the function  hiCreateAppForm which opens up a GUI which has button options => OK cancel Defaults Apply Help

Whenever I click on the cancel button it does not close the opened app form.

Below is the function I am using:

hiCreateAppForm( ?name 'CellForm
  ?formTitle "Cor_files"
  ?callback "CornerSet()"
  ?fields list( aRadio )
  ?help "cream" )
  status = hiDisplayForm( CornersForm )


Can anyone tell me how to make cancel button work.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    Adding a little bit of missing information:

    aRadio=hiCreateRadioField(?name 'aRadio ?choices list("one" "two" "three"))
    CornersForm=hiCreateAppForm( ?name 'CellForm
      ?formTitle "Cor_files"
      ?callback "CornerSet()"
      ?fields list( aRadio )
      ?help "cream" )
    status = hiDisplayForm( CornersForm )

    You clearly didn't try the code you posted as problematic, or you'd have seen that it works fine. Of course, it's quite possible (from previous experience) that what you posted is not what you tried, or that there is some other important piece of information that  you omitted.

    At the very least, it's wise to try what you post to make sure it shows the problem you're describing, as otherwise everyone has to get their psychic sensors out to guess what you really mean. I could tell from looking at the code you posted that it wouldn't show the symptoms you've described, and sure enough, it doesn't. Without the red code above, it doesn't work at all, so the problem you're seeing is clearly induced by some piece of code you didn't supply.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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