How to access a control on tabbedpages?

I have a Slider OP1A on TabbedPages mTabs.
Clearly this does not work:

if (slider == &mTabs.getChildComponent(mTabs.getCurrentTabIndex()).OP1A)

What is the correct way to get to this slider in sliderValueChanged?

You might want to handle slider changes a bit closer to where the slider lives and propagate changes back to the parent class.

:+1: will try that