TabBar with Example.
I can't stand the Tabs in Android, so made a TabBar that is a little more useful. No Panel is built in so you can make the Tabs do things with your own Panels or the entire screen. The Default looks like real Folder Tabs and you can set custom colors if you wish. There is one event that lets you know the selected tab and if the click of that tab changed selection or just clicked it again (Useful if you want to make something different happen if the user clicks a tab twice). When setting the current tab by code you can also determine if the event gets raised (Something missing from a lot of controls in Android/B4A- Yeah, I'm looking at you Spinner.) When not enough room for the Tabs they also scroll.
I can't stand the Tabs in Android, so made a TabBar that is a little more useful. No Panel is built in so you can make the Tabs do things with your own Panels or the entire screen. The Default looks like real Folder Tabs and you can set custom colors if you wish. There is one event that lets you know the selected tab and if the click of that tab changed selection or just clicked it again (Useful if you want to make something different happen if the user clicks a tab twice). When setting the current tab by code you can also determine if the event gets raised (Something missing from a lot of controls in Android/B4A- Yeah, I'm looking at you Spinner.) When not enough room for the Tabs they also scroll.
Attachments
Last edited: