Hi,
In my code i want to create : x number of list and put in x number of list
My gui :
User can add X tabpane in X tabpane....
And i try this code without success..
In my code i want to create : x number of list and put in x number of list
My gui :

User can add X tabpane in X tabpane....
And i try this code without success..
B4X:
Sub CreateListOfLbl
Dim l As List
l.Initialize
'AllLblGeneralChapitre contient des listes pour chaque matiere, ces listes contiennes les lbl des matieres
For i=1 To listMatiere.Size-1'For x "matiere" i want to put a list with array of string in list: "AllLblGeneralChapitre" example of array : "AA,AB,AC,AD,..."
l=Structure.BlocChapitre(i)'structure.blocChapitre return a list
For x=0 To l.Get(0)-1 'in l.get(0) they have the number of string in array : if l.get(0)=1 array = "AA" | if l.get(0)=3 array = "AA,AB,AC"
TakeLbl(0,Lx) 'TakeLbl, add string "AA" or other if AA is already selected... in list Lx
Next
AllLblGeneralChapitre.Add(Lx)'Now i put my list in my list, at this step i think is good
Lx.Clear 'but now i need to clear Lx list for the next loop, when i do that, AllGeneralChapitre.get(0) return nothing because i clear the list...
Next
LogList(AllLblGeneralChapitre.Get(0))
End Sub