• 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. minimize dialog box

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 14141
  • 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

minimize dialog box

Venu Ch
Venu Ch over 11 years ago

Hi all,

 I created a dialog box by using hiCreateAppForm. I want to get minimize,maximize option for it. How can I get it? Please let me know?

 Please see screeshot.

Thank you,

Chandaka

  • Resis.png
  • View
  • Hide
  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    You've created a form (there's a separate API for dialog boxes, but these are essentially similar) are "transient windows". These are handled differently by different window managers. It's up to the window manager whether they provide minimize/maximize support for transient windows - most don't. KDE does however. There's nothing you can do in your code for this - it's purely a function of the window manager.

    If you always want to have minimize/maximize support on a form, you can do this by using a "Window form". This is where you use hiCreateWindow to create the window, and use this to display the form. Such forms don't have form buttons - you'd have to put buttons on the form -  but they do have pulldown menus. Tools->Technology File Manager is one of these types of forms.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Venu Ch
    Venu Ch over 11 years ago

    Thanks Andrew, thanks for clarification. I am facing one more issue. I created an app by using hicreateappform command. Contents in this form will vary acording to the cellName. when i am maually closing and and displaying it again then it is working fine. When I forgot to close and redisplaying another dialog box then I am getting below warning and poping up previous form only.

    *WARNING* hiDeleteForm: Cannot delete a form that is mapped or from within the form's callback (CSVreport)
    *WARNING* hiCreateForm: Could not delete already created form CSVreport 

    I want to close existing form and display it again for new settings. For that i written below code. But it is not working. Please let me know solution

     procedure(CSVreportAndRunForm1()
    if(hiIsFormDisplayed(CSVreport)   then 
    print("yes")
    hiFormCancel(CSVreport)
    )
    CSVreportAndRunForm()

    )

     Thank you,

    Venu

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Venu,

    In general I'd recommend dynamically changing the form contents rather than recreating it completely - that will work with no problems. If you really must recreate from scratch, then it has to return to the event loop before deleting and recreating the form. So this will do it:

    procedure(CSVreportAndRunForm1()
    if(hiIsFormDisplayed(CSVreport)   then 
    print("yes")
    hiFormCancel(CSVreport)
    )
    hiRegTimer("CSVreportAndRunForm()" 0)

    )

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Venu Ch
    Venu Ch over 10 years ago
    Thanks alot Andrew. Now problem is solved. It's working fine.
    • 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