Hi,
I have several panels on a scrollview, each of the panels may several labels , imageviews and edittext views.
Is there a way to write to the edittext.text item on a specific panel by some sort of an index? I cannot use any direct adressing by name as the panels are generated during runtime and the number of panels is not static.
When I Log the views with GetViews I get the following:
I can get with FPanel(3).GetView(i).tag the tag information.
But how can I get further to the .text field of a EditText view?
Any suggestions?
I have several panels on a scrollview, each of the panels may several labels , imageviews and edittext views.
Is there a way to write to the edittext.text item on a specific panel by some sort of an index? I cannot use any direct adressing by name as the panels are generated during runtime and the number of panels is not static.
When I Log the views with GetViews I get the following:
B4X:
(ImageView): Left=2, Top=0, Width=32, Height=32
(TextView): Left=40, Top=0, Width=439, Height=30
(TextView): Left=40, Top=40, Width=240, Height=40, Tag=KUN;7
(EditText): Left=312, Top=40, Width=168, Height=40
(TextView): Left=312, Top=40, Width=168, Height=40, Tag=KUN
(EditText): Left=40, Top=80, Width=440, Height=100
But how can I get further to the .text field of a EditText view?
Any suggestions?