sina39000
Member
My code:
Label1 to Label5 defined in designer
nothing on run and labels do not changes
what is wrong???
B4X:
Sub Globals
Private Label1 As Label
Private Label2 As Label
Private Label3 As Label
Private Label4 As Label
Private Label5 As Label
Private LLL() As Label
LLL = Array As Label (Label1,Label2, Label3, Label4, Label5)
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Layout1")
For i = 1 To 4
LLL(i).Initialize("L"&i)
LLL(i).Text = "Label No "&i
LLL(i).Color = Colors.Blue
Next
End Sub
Label1 to Label5 defined in designer
nothing on run and labels do not changes
what is wrong???