B4J Question [ABMaterial] Add ABMCustomComponent in an ABMContainer

Cableguy

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

B4X:
  Dim custGauge As CustomGauge
Then you just add it like any other component:
B4X:
Page.cell(x,y).addcomponent(custgauge)
 

Cableguy

Expert
Licensed User
Can it be that, due to the reduced size of the target container, the component can't be rendered?
 

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
 
Top