So I have a simple 2 tab layout:
<layout> <tabs> <tab text="tab 1"> <row> ....... </row> </tab> <tab text="tab 2"> <row> ... </row> </tab> </tabs> </layout>
I want to execute a keypress when I click on "tab 1", and a different keypress when "tab 2" is clicked. Is this possible?
I see that there is a <tabs onchange="update"> event, but that executes the same action every time any of the tabs are changed. I want to execute different actions based on the tab itself.