Change active Tab via callback

Is it possible to change the Tab by dynamic value? I want to use Icons on the front-end to open a form inside a modal and want to show the selected Tab? Maybe something like:
$this->form->getComponent('tabCompName')->activeTab(3)
Was this page helpful?