Reply To: Demo panel for MIDI receive/transmit routines

Home Forums General Using Ctrlr Demo panel for MIDI receive/transmit routines Reply To: Demo panel for MIDI receive/transmit routines

#73265
dnaldoog
Participant
    • Topics: 4
    • Replies: 480
    • Total: 484
    • ★★

    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
    Ctrlr