How do I use hex color values with CSSUtils?
I want to call
but have yet to find the magic types or conversions to make it work.
I know that this works:
Any insight would be appreciated...
I want to call
B4X:
Dim COLOR_TEXT_UNSELECTED as ?? = 0xFF112233
CSSUtils.SetStyleProperty (tglBtn, "-fx-text-fill", COLOR_TEXT_UNSELECTED)
I know that this works:
B4X:
CSSUtils.SetStyleProperty(tglBtn, "-fx-text-fill", "blue")