B4J Question Navigation and mouse scroll direction in a TabPane

Pxs

Member
Licensed User
Hello

I'm using a tabpane with many group tabs, in vertical orientation ( thanks to this post from jmon )

The problem is, by switching the tabs orientation, the mouse scroll on the tab labels is also inverted (scrolling UP will scroll the tab list DOWN to its end)!
Is there a way to restore it to standard behaviour?

Lastly any way to add an actual scroll bar , instead of the clunky menu selector at the end?

Thanks a lot!
 

PaulMeuris

Well-Known Member
Licensed User
There are alternatives to using a tab pane.
In the example below i use a CustomListView for the tabs and a content pane for loading the tab layouts into.
The CustomListView has an automatic vertical scrolling. The scrollbar is hidden in this example.
This layout allows you to have a lot of tabs. Just make sure you have created as many layouts as well.
1688641554385.png
1688641585010.png

Maybe you could try this out in a testproject.
If you need help with this just reply to this message.
 
Upvote 0

Pxs

Member
Licensed User
Thanks for the reply
Yes, i'm considering switching to a custom view for better customization (and solving these problems)... tab pane was handy because of the ability to load any number of layouts (determined runtime) and hold the values set in the views while switching beetween them.
 
Upvote 0
Top