View Single Post
Old 10-18-2019, 12:41 AM   #1
renzoruggieri.com
Human being with feelings
 
Join Date: Oct 2019
Location: Roseto degli Abruzzi (TE, Italy)
Posts: 13
Default 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
renzoruggieri.com is offline   Reply With Quote