View Single Post
Old 11-14-2018, 03:49 PM   #357
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Ah. Yes, in that case you need to redeclare it - when you create a new slider, it only has the default slider methods.

If all of the sliders in your script make use of your extended method, you could extendGUI.Slidernmousedown instead to have all of them pick it up. You might have to declare that before creating them, I'm not sure.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote