You're right - there is no simple way to programmatically change the selected tab. What you could do, however, is use code to activate the first control on the desired tab. To do this, the OnPush of your "Show second Tab" button should contain:
CURRFORM.TheNameOfTheFirstControlOnTheSecondTab.ACTIVATE;