Locking a slider to a particular value


#1

Hi all,

I am implementing a “mix lock” in my plugin, to satisfy overwhelming customer requests. I’m trying to figure out how to set a value such that the GUI ignores any attempted changes by the mouse and/or text entry box. Any suggestions?

Thanks,

Sean Costello


#2

setEnabled (false) ?


#3

Override setValue() by returning getValue().