Mashiane Expert Licensed User Longtime User Oct 30, 2017 #1 Hi there, how can I detect which page in a TabPane is clicked? Thanks.
Eme Fibonacci Well-Known Member Licensed User Longtime User Oct 31, 2017 #2 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
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
Mashiane Expert Licensed User Longtime User Oct 31, 2017 #3 Posted to the wrong sub-forum, thanks... Upvote 0