B4J Question [Solved] Is there TabPane.setTabVisibility equivalent?

Gabino A. de la Gala

Active Member
Licensed User
In B4A I use TabManager.setTabVisibility(TabHost1,False).

Is there any way to get it in B4J?

I'm trying ASBottomMenu library and
Thanks.
 

mangojack

Well-Known Member
Licensed User
In the ASBottomMenu class module , change class global mbase to Public
B4X:
Public mBase As B4XView 'ignore

Then you can call ...
B4X:
ASBottomMenu1.mBase.Visible = False
 
Upvote 0

Gabino A. de la Gala

Active Member
Licensed User
In the ASBottomMenu class module , change class global mbase to Public
B4X:
Public mBase As B4XView 'ignore

Then you can call ...
B4X:
ASBottomMenu1.mBase.Visible = False
Thank you. But what I wanted to do is "link" a TabPane to an ASBottomMenu.
Making that according to the option selected in the ASBottomMenu in the TabPane the corresponding tab will be selected.
So what I needed to hide was in the TabPane not in the ASBottomMenu.
Finally I got it by changing the size of the source in the TabPane properties to 0.1.

You can see the result in the following video: https://drive.google.com/file/d/1msiJvSSGiR9rsi5FUoQBVhOh0QSKdeFb/view
 
Upvote 0
Top