click+drag up/down Lua on uiButton

Home Forums General Programming click+drag up/down Lua on uiButton

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13888
    msepsis
    Participant
      • Topics: 219
      • Replies: 732
      • Total: 951
      • ★★★

      I’m curious if in addition to clicking a multi-value (0-7) button if it could be possible to script additional click+drag up/down functionality attached to the button which gives it the additional functionality making it almost a button/slider hybrid?

      Also is it possible to give a button a modifier key so you can make the button’s value = (value-1)?

      So if i click the button w/ values 0-7 it goes up incrementally by one value, if I ctrl+click or right click the parameter subtracts 1 from the current value.

      Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen

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

        I wanted to add a generic (every component has it) mouseDown, mouseUp, mouseEnter, mouseExit, mouseDrag calls. But i never got to it, if that’s needed it’s simple to add i’ll do that once i get a chance this week.

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