hi
i created some controls such as edittext and checkbox or etc in runtime by this code:
now i need the value of controls (for example text property of edittext) in another part of my code:
how can get this values? or any other method
thanks a lot
i created some controls such as edittext and checkbox or etc in runtime by this code:
B4X:
for i = 1 to 2
dim et as edittext
et.initialize("edittext"&i)
activity.addview(et,50dip,(i*500dip)+10dip,100dip,50dip)
next
now i need the value of controls (for example text property of edittext) in another part of my code:
B4X:
Sub btnShowEtValue_Click
' what code can i use here to show value of runtime created edittexts?
end sub
how can get this values? or any other method
thanks a lot
Last edited: