Hello,
I think a very basic question.
I'm struggling with textarea black letters on yellow background. Just like a post-it memo.
First I tried a light yellow backcolor at designer properties.
But at runtime it is white.
Then I tried those two lines of code. Both did not result in a yellow textarea.
Please let me know how I can make it yellow.
Marc
I think a very basic question.
I'm struggling with textarea black letters on yellow background. Just like a post-it memo.
First I tried a light yellow backcolor at designer properties.
But at runtime it is white.
Then I tried those two lines of code. Both did not result in a yellow textarea.
StyleSheets Properties:
CSSUtils.SetBackgroundColor(txtMemo, fx.Colors.Rgb(255,242,204))
'or
CSSUtils.SetStyleProperty (txtMemo, "-fx-background-color", "yellow")
Please let me know how I can make it yellow.
Marc