Hi all,
I have a page (Page) in which I add an ABMContainer (container1). Inside the container I add an ABMTabs control (tabs1) in which I add two tabs (tab1 and tab2).
*) I am adding the tabs1 control in a container (container1) because I need to animate it.
what is the best way to access the controls inside tab1 ?!
I do it like this now:
Is there another way ?! I see that the id in the html file for the inp1 is tab1-inp1 but if I try to put it like this:
It doesn't work it says: No component found with id tab1-inp1
And another question: Does anyone know what does ABM.CastABMComponent(com.ab.abmaterial.ABMaterial.CastABMComponent) do ?!
I have a page (Page) in which I add an ABMContainer (container1). Inside the container I add an ABMTabs control (tabs1) in which I add two tabs (tab1 and tab2).
*) I am adding the tabs1 control in a container (container1) because I need to animate it.
what is the best way to access the controls inside tab1 ?!
I do it like this now:
B4X:
Dim pc As ABMContainer = Page.Component("container1")
Dim tc As ABMTabs = pc.Component("tabs1")
Dim tp As ABMContainer = tc.GetTabPage("tab1")
dim inp1 as ABMInput = tp.Component("inp1")
Is there another way ?! I see that the id in the html file for the inp1 is tab1-inp1 but if I try to put it like this:
B4X:
dim inp1 as ABMInput = Page.Component("tab1-inp1")
And another question: Does anyone know what does ABM.CastABMComponent(com.ab.abmaterial.ABMaterial.CastABMComponent) do ?!