B4J Question B4J: How to detect TabPane clicked page?

Eme Fibonacci

Well-Known Member
Licensed User
Longtime User
B4J?

If you means the tab marker:

B4X:
Sub TabPane1_TabChanged (SelectedTab As TabPage)
    Log(TabPane1.SelectedIndex)  
End Sub

if you means forms then you can put panels in layouts:

B4X:
Sub PanelTab1_MouseClicked (EventData As MouseEvent)
    Log("Tab1")
End Sub
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…