hello
I'm trying b4J and I have difficulty to change css style to the nodes from code
example:
.....
Private T_ID As TextField
Dim stile, stile1,stile2 As String
......
stile2="-fx-focus-color:#FF0000;"
stile1="-fx-accent:#F70000;"
T_ID.Style=stile1&stile2
it works
example:
stile="-fx-background-color:#FFFFAA;"
it works
I would like to change the background color when the textfield is active (focused)
is possible via code?
or you have to change the style sheet CSS of payment default?
thanks... and sorry for the English translated from Italian
I'm trying b4J and I have difficulty to change css style to the nodes from code
example:
.....
Private T_ID As TextField
Dim stile, stile1,stile2 As String
......
stile2="-fx-focus-color:#FF0000;"
stile1="-fx-accent:#F70000;"
T_ID.Style=stile1&stile2
it works
example:
stile="-fx-background-color:#FFFFAA;"
it works
I would like to change the background color when the textfield is active (focused)
is possible via code?
or you have to change the style sheet CSS of payment default?
thanks... and sorry for the English translated from Italian
Last edited: