A challenge for you

Home Forums General Using Ctrlr A challenge for you

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #520
    Layzer2
    Participant
      • Topics: 21
      • Replies: 55
      • Total: 76

      Attached is a test panel showing an issue i am having…..

      I’m trying to mimick the UiButton behavior using the UiimageButton

      i’ve tried many ways to do it but just can’t do it.

      yes, i can use the UiButton to accomplish what i need to do, but i wish to
      use a custom button image. to make the panel look how it should.

      download the test panel and see if you can do it….

      maybe a LUA guru can help?

      …..good luck! and thanks!

      #3618
      atom
      Keymaster
        • Topics: 159
        • Replies: 2945
        • Total: 3104
        • ★★★★★

        The "ALMOST" button with a momentary option set and one option from the button removed works, add another frame to the button and all options will work the right way. So the options are:
        [code:3u3uys7u]
        Off = 0
        Saw = 1
        Sin = 2
        [/code:3u3uys7u]

        and the button is in Normal+MouseOver mode

        #3619
        Layzer2
        Participant
          • Topics: 21
          • Replies: 55
          • Total: 76

          how do you set it to mometary AND normal+mouseover? at the same time… i’m using build 787 is those properties changed in newest version?

          #3620
          atom
          Keymaster
            • Topics: 159
            • Replies: 2945
            • Total: 3104
            • ★★★★★

            I don’t think anything changed, the combo has the Normal, Momentary, Normal+MouseOver, Momentary+MouseOver, i’ve set it to Normal+MouseOver in the scenario above, i might have mislead you.

            #3621
            Layzer2
            Participant
              • Topics: 21
              • Replies: 55
              • Total: 76

              ok i set it to normal+mousover and made a button strip like so:

              frame 1 = button on
              frame 2 = button off
              frame 3 = button on
              frame 4 = button on
              frame 5 = button on

              that works for all options 1 – 4

              it even leaves the button in the right state when you mouse off.

              the only tiny detail is that when button is pushed, it is in the OFF frame.
              but i can live with that, thanks Atom, ur Da man!

            Viewing 5 posts - 1 through 5 (of 5 total)
            • The forum ‘Using Ctrlr’ is closed to new topics and replies.
            There is currently 0 users and 66 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