B4J Question [ABMaterial] Add ABMCustomComponent in an ABMContainer

Discussion in 'B4J Questions' started by Johan Hormaza, Nov 9, 2019 at 2:14 PM.

  1. Johan Hormaza

    Johan Hormaza Active Member Licensed User

  2. Cableguy

    Cableguy Expert Licensed User

    When you dim your component, you get a ref to it, like;

    Code:
    Dim custGauge As CustomGauge
    Then you just add it like any other component:
    Code:
    Page.cell(x,y).addcomponent(custgauge)
     
    Johan Hormaza likes this.
  3. Johan Hormaza

    Johan Hormaza Active Member Licensed User

    Yes, but for a Page it works, but in an ABMContainer it doesn't work.

    Thank you! @Cableguy
     
  4. Cableguy

    Cableguy Expert Licensed User

    Can it be that, due to the reduced size of the target container, the component can't be rendered?
     
  5. alwaysbusy

    alwaysbusy Expert Licensed User

    I'm not at my PC, but it has something to do with the Id. It has been mentioned at the forum how to fix
     
  6. Cableguy

    Cableguy Expert Licensed User

  7. Johan Hormaza

    Johan Hormaza Active Member Licensed User

    As my dear friend told you, the component works perfectly on one page, but in an ABMContainer it does not show the component.

    No, it cannot be processed. No doubt this could be the problem.
     
Loading...
  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