It seems that when when calling pressButton(), the app enters an infinite loop, and repeatedly calls the associated event handler, even if i set the flag to ‘false’.
this is the line that I isolated as causing the trouble in my code:
tabs:pressButton( 2,false );
EDIT:
I wrote a test code that only tests the tabbar, the loop problem dissapeared, so it may be a problem with my own code. However the event handler flag still seems not to work (it always behaves as if it is set to ‘true’).
[import]uid: 33608 topic_id: 20280 reply_id: 320280[/import]