Hi, I searched the forum but couldn't find a solution.
There is one xCustomListView, includes Textbox and Label.
I add as many views as I want by clicking the Mecet_Add_Click button.
Naturally, more than one textbox is created in xCustomListView.
When I press any button on the layout except xCustomListView, I need to get all the "textbox.text" in this textbox.
How can I do that?
Thank you.
I want it to be like this, when Button1_Click, I want to get all the textbox data in the CustomList.
There is one xCustomListView, includes Textbox and Label.
B4X:
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Root.LoadLayout("Ex_Layout")
End Sub
Private Sub CreateItem(Mecet As String) As Panel
Dim p As Panel
p.Initialize("")
p.Tag = "Tag" ' add the tag to the Panel to find the right panel later
Root.AddView(p,0, 0, 100%x,63dip)
p.LoadLayout("Ex_Customview")
Mecet_Text.Text = Mecet
p.RemoveView
Return p
End Sub
Private Sub Mecet_Add_Click
CustomList.Add(CreateItem(MecetAracSayisi),ID)
End Sub
I add as many views as I want by clicking the Mecet_Add_Click button.
Naturally, more than one textbox is created in xCustomListView.
When I press any button on the layout except xCustomListView, I need to get all the "textbox.text" in this textbox.
How can I do that?
Thank you.
I want it to be like this, when Button1_Click, I want to get all the textbox data in the CustomList.
Last edited: