How do you do Radio Buttons?

Home Forums General Using Ctrlr How do you do Radio Buttons?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #71525
    human fly
    Participant
      • Topics: 124
      • Replies: 1070
      • Total: 1194
      • β˜…β˜…β˜…β˜…

      Hi, i need some Radio Buttons:

      4 ‘exclusive group’ toggle buttons – only one can
      be down at a time, any buttons going down sends
      the others up?

      i’ve seen references to Radio Buttons, but i can’t
      remember where.

      i want this for a single parameter with values 0,1,2,3
      so it can make more sense ‘semantically’ πŸ˜‰
      (and so i can put more info on the UI for the user)

      thanks for any info !

      #71992
      human fly
      Participant
        • Topics: 124
        • Replies: 1070
        • Total: 1194
        • β˜…β˜…β˜…β˜…

        the answer to that is here: first paragraph:

        Issue with getModulatorValue


        I have three … uiToggleButton, each with a different name and each in a Radio group … (with Is component a member of a group checked”.
        This part is OK, I can have only one button checked at a time .. ”

        you also set the Radio Group number you want.

        there’s a problem with the Radio Button action, though:
        for ‘exclusive’ button action,
        one button must remain down at all times. you should only
        switch off the currently engaged button by pressing
        another button in the group.
        with this, you can switch off the current ‘on’
        button, so that all are ‘false’. that’s wrong.

        have had a little try with lua -and found a way to ‘lock’ a button πŸ™‚
        but no success for ‘exclusive’ yet. i’m sure this is simple for
        someone out there! — a ~= b or c or something like that.
        logic exercise, anyone? :o)

        it looks like it needs a little add-on function used by all the
        buttons in a group, in addition to, or instead of the Ctrlr
        RadioButton properties. or maybe it’s something needed as a
        features request.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • The forum ‘Using Ctrlr’ is closed to new topics and replies.
      There is currently 0 users and 63 guests online
      No users are currently active
      Forum Statistics
      Threads: 2,495, Posts: 17,374, Members: 77,605
      Most users ever online was 12 on January 22, 2019 3:47 pm
      Ctrlr