B4J Question Button to assign a color. How?

strupp01

Active Member
Licensed User
Longtime User
How can I assign a button a color.
So?
B1.Style = "-fx-background-Color: # 3c7fb1;"
Button is displayed but gray in default.

greeting
strupp01
 
Top