1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

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

Discussion in 'B4J Questions' started by Gabino A. de la Gala, May 18, 2019.

Similar threads

B4J Tutorial TabPane Example
B4J Tutorial Pagination Container
B4J Tutorial Accordion container
B4J Tutorial Charts Framework
B4J Code Snippet TabPane Closing Policy TabPages
  1. Gabino A. de la Gala

    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
  2. mangojack

    mangojack Well-Known Member Licensed User

    In the ASBottomMenu class module , change class global mbase to Public
    Public mBase As B4XView 'ignore
    Then you can call ...
    ASBottomMenu1.mBase.Visible = False
  3. Gabino A. de la Gala

    Gabino A. de la Gala Active Member Licensed User

    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
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice