• 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. Toggle hiCreateButton: is it possible to show button depressed...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 144
  • Views 5392
  • 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

Toggle hiCreateButton: is it possible to show button depressed to reflect one toggle state, and non-depressed to show another toggle state?

blankman
blankman over 2 years ago

Hi, I have a procedure that sets M1 visible when M1 is non-visible, and vice versa. I am using a form button (hiCreateButton) to ?callback the procedure. I wish to be able to have the button depressed when M1 is toggled visible, and non-depressed when M1 is toggled non-visible. Is it possible to implement a toggle button like this with hiCreateButton?

Thanks,

Brian.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    This is kind of what "Actions" do (created with hiCreateAction) except you can't have them on forms (only on toolbars and in menus).

    The only way I can think of doing this on a form is to have the button being an icon and then changing the icon in the callback. There doesn't seem to be a way of keeping the button depressed or not depending on a mode. I couldn't find any requests for this either.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • blankman
    blankman over 2 years ago in reply to Andrew Beckett

    Thanks Andrew, very helpful, most appreciated, kind regards, Brian

    • 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