I would like to send a Jfx-Color to a sub where I asign it to a View, but it looks like the type COLORS in not known in the sub. What do I do wrong?
B4X:
'this works:
MyButton.TextColor=jfx.colors.red
'this not:
SendColor(jfx.colors.red)
Sub SendColor(Color as Colors)
MyButton.TextColor=Color
End Sub