ok i can answer that now …
answer is here: ‘removeProperty’
https://juce.com/doc/classDynamicObject
what i had done, was the iterate a setProperty() operation
on a property that did not exist, by using getModulatorByName()
instead of getComponent() – ie: “uiGroupOutlineColour1”
so i created a new property of the same name, belonging to the
modulator (as well as the one belonging to the component).
in order to remove this new property, i wrote a little method
called remove property, and made a button for it:
function removeExtraProperty()
for i = 1,16 do
_G["grp_step"..i]= panel:getModulatorByName("grp_step"..i):removeProperty("uiGroupOutlineColour1")
end
end
probably didn’t need this bit? > _G["grp_step"..i]
(um but not before screwing it up and deleting the wrong
property first. don’t know how i’m going to re-instate
that .. ie: to be used with caution .. )
edit: seems to be ok so far. but one of my groups does not
have a modulator ‘current value’, whereas all the others do.
(don’t see why a uiGroup modulator would have a value ? …)