• 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. Selectively enabling and disabling the choices of Listbox...

Stats

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

Selectively enabling and disabling the choices of Listbox created by hiCreateListBoxField()

Manikk0501
Manikk0501 over 10 years ago

Hi all,

              How can i selectively enabling and disabling a particular value in a listBox whichi created using hiCreateListBoxField().

For example,

              I have two listboxes and the value of listBox1 controls the choices in listBox2. I want to disable some of the choices of listBox2(greyed out) based on what i select in listBox1.  I can reshuffle the complete listBox2 through a callback from listBox1. Instead, I want just to disable the unwanted values in listbox2. How can i do it?

Thanks and Regards,

Manikandan Kuzandhaivelu

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    This is not possible. You cannot disable or enabled individual entries in a list box field.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Junior0304
    Junior0304 over 9 years ago

    i want to understand(advantage perhaps) why you want to grey out only those unwanted options of listbox2 instead of generating new set  of same, since each can only be triggered by the callback from listbox1. and greying out can only be done if the options are predetermined, (thus the need for the code to activate/deactivate each item, each time the value of listbox1 changes). BTW, graying out can be done by Radiobox but not by the listbox i think. 

    • 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