click+drag up/down Lua on uiButton

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

This topic contains 1 reply, has 2 voices, and was last updated by atom atom 4 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #13888
    • Topics: 217
    • Replies: 731
    • Total: 948
    • ★★★

    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

    • Topics: 156
    • Replies: 2940
    • Total: 3096
    • ★★★★★

    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)

You must be logged in to reply to this topic.

There is currently 0 users and 16 guests online
No users are currently active
Forum Statistics
Threads: 2,100, Posts: 14,731, Members: 7,464
Most users ever online was 5 on March 28, 2018 6:11 pm
Do NOT follow this link or you will be banned from the site!