Christian75
Member
Hi I'm trying to change attributes on a VLabel that is made in Abstract manager after it has been bound.
I have manage to change the text using {{ artnumber }} in Caption field but what if I want to change the color for example ?
Any ideas to solve this ?
I have manage to change the text using {{ artnumber }} in Caption field but what if I want to change the color for example ?
B4X:
Private Sub Icon_Image_Click (e As BANanoEvent)
'This works to change the text and not the color
vuetify.SetData("artnumber", "Bulle")
'These do not work:
vuetify.SetData("artnumber.color", "#ff0000")
vuetify.SetData("VLabel7.color", "#ff0000")
VLabel7.VElement.TextColor = "red"
End Sub
Any ideas to solve this ?