Hi all,
I have a bunch of Edittext, Labels and CheckBox:
At a certain point of my code I would like to populate Edittexts and label with the content of some variables.
Is there some way to cycle this operation ? Something like:
Thank you very much for your help, as usual.
BR,
Claudio
I have a bunch of Edittext, Labels and CheckBox:
B4X:
Sub Globals
Private R0Name As EditText
Private R0 As Label
Private R0Ena As CheckBox
Private R1Name As EditText
Private R1 As Label
Private R1Ena As CheckBox
Private R2Name As EditText
Private R2 As Label
Private R2Ena As CheckBox
End Sub
...
At a certain point of my code I would like to populate Edittexts and label with the content of some variables.
Is there some way to cycle this operation ? Something like:
B4X:
For index = 0 To Max
"R" & index & "Name".Text = something...
"R" & index.Text = something_else...
Next
Thank you very much for your help, as usual.
BR,
Claudio
Last edited: