Iplug2, SET/GET control
Someone can help me with this instruction that doesn't work for me.
auto SWact = [pGraphics](IControl* pCaller) {
SplashClickActionFunc(pCaller);
// it works
pSW = pCaller->GetTag();
// it works
dynamic_cast<ITextControl*>(pGraphics->GetControlWithTag(kTPanel))->SetStr("ciao");
// DON'T WORKS
dynamic_cast<ICaptionControl*>(pGraphics->GetDelegate().GetParam(kPSSW1)->Set());
};
What I need is to SET (and GET) a value in a parameter in a knob control?
Thanks
Last edited by renzoruggieri.com; 10-18-2019 at 12:48 AM.
Reason: no clear title
|