S strupp01 Active Member Licensed User Longtime User Dec 10, 2013 #1 How can I assign a button a color. So? B1.Style = "-fx-background-Color: # 3c7fb1;" Button is displayed but gray in default. greeting strupp01
How can I assign a button a color. So? B1.Style = "-fx-background-Color: # 3c7fb1;" Button is displayed but gray in default. greeting strupp01
Erel B4X founder Staff member Licensed User Longtime User Dec 10, 2013 #2 It should be: B4X: "-fx-background-color: #3c7fb1;" There is an extra space and c instead of C. Upvote 0
S strupp01 Active Member Licensed User Longtime User Dec 10, 2013 #3 Thanks Erel, so it works. Upvote 0