I have designed a panel with labels, buttons and stuff. I want 7 of these panels and I would like to be able to have an array of panel so that I can deal with them easily in my program. I know I could create everything in the program but it is easier to get one made with the designer.
Say the panel I designed is DesignPanel. What I would like to do is something like this.-
What should I be looking up to learn how to do that?
I see that there is Panel.LoadLayout but I can't find the reverse procedure.
Say the panel I designed is DesignPanel. What I would like to do is something like this.-
B4X:
Dim aPanel(7) as Panel
Dim ii as int
for ii = 0 to 6
aPanel(ii).features = DesignPanel.features
aPanel(ii).top = ii* DesignPanel.Height
Next
What should I be looking up to learn how to do that?
I see that there is Panel.LoadLayout but I can't find the reverse procedure.