Home › Forums › General › Using Ctrlr › Demo panel for MIDI receive/transmit routines › Reply To: Demo panel for MIDI receive/transmit routines
October 21, 2017 at 11:26 am
#73265
I did that a few times and wrote a function to clear them.
Is this what you mean? You created a new modulator that is now showing on the panel editor menu (or whatever it is called)?
removeComponentsIcreated=function(NAME)
--[[While developing I occasionally accidentally created a component or Modulator -- this code removes that entity--]]
--[[ COMPONENTS --]]
panel:getModulatorByName(NAME):getComponent():removeProperty("uiSliderThumbColour")
--[[ MODULATORS --]]
panel:getModulatorByName(NAME):removeProperty("uiSliderThumbColour")
end --function