1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE

ignore_ui_control

Discussion in 'Feature Suggestions' started by jhox, Apr 23, 2018.

  1. jhox

    jhox New Member

    Messages:
    11
    A function like ignore_controller would be nice for setting ui controls enabled/disabled.
     
  2. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    There are several other ways you can go about doing that.

    1. Setting the knob to the last known value perpetually, if your UI controls disable flag is positive.
    2. Having an ui_label that looks exactly the same as the UI control placed behind the actual control, then hide the actual UI control (my favorite way of doing this, especially when you use a 50% transparent variant of the graphic, then it actually shows the parameter.
    3. use "exit" command.
    4. hide control completely and in case it's hidden, have an if clause that does the same thing as in 1) above.
     
    Last edited: Apr 23, 2018
  3. jhox

    jhox New Member

    Messages:
    11
    Thank you very much for your hints.

    I have used the first one, but it looks buggy.

    I want to try your other suggestions now...