1. #1
    New Member Follow User Gallery
    Join Date
    Mar 2019
    Posts
    11

    Default could I add the slider when I push the button

    Hey, one UI issue, can I add the slider component when I press the button?
    And, how can I change the slider label when the value changed? thanks

  2. #2
    Moderator Follow User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    11,462

    Default

    I'm not sure I understand exactly what you are trying to do. There's no way to change the slider name while adjusting the slider, so it's impossible to create in zscript the equivalent of the slider at the top of the tool palette (for example).

    Renaming buttons or sliders is also tricky. You can do it if your zscript is always loaded by the user and appears at the bottom of the UI like yours does. What you do is have the new name stored in a memory block so that it persists and then reload the zscript so the button is redrawn. But you can't use the same method with installed plugins.

  3. #3

    Default

    what I want to do is the slider like tool list.

    the label (polysphere) will change when user adjust the slider value, can we so that?

  4. #4
    Moderator Follow User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    11,462

    Default

    No, that's not possible (as I said in my post above!).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •