Hi, i need to change TextXolor of a Label and i can take the color from a variable
I have an errore on Label1.textcolor=ColActive and Label2.textcolor=ColInactive
Someone can help me?
Marco
B4X:
Dim ColActive As ColorDrawable
Dim ColInactive As ColorDrawable
ColActive.Initialize(Colors.black, 10dip)
ColInactive.Initialize(Colors.LightGray, 10dip)
Label1.textcolor=ColActive
Label2.textcolor=ColInactive
Label3.textcolor=ColInactive
.....
Label99.textcolor=ColInactive
Label100.textcolor=ColActive
Someone can help me?
Marco