Hello
I have a scrollview which have panels and inside panels there are some labels. If i use the below code , this changes the background successfuly but also makes every label textcolor black inside every panel. Why is that and how can i avoid it ?
thanks
I have a scrollview which have panels and inside panels there are some labels. If i use the below code , this changes the background successfuly but also makes every label textcolor black inside every panel. Why is that and how can i avoid it ?
B4X:
If listana.size>0 Then
For i=0 To listana.Size-1
If i=selectedrow Then
CSSUtils.SetBackgroundColor(panelcoin(i),fx.Colors.RGB(255,233,218))
Else
If tekcift(i)="tek" Then
CSSUtils.SetBackgroundColor(panelcoin(i),fx.Colors.RGB(250,250,250))
Else
CSSUtils.SetBackgroundColor(panelcoin(i),fx.Colors.RGB(255,255,255))
End If
End If
Next
Else
End If
thanks