Hello,
I would like to be able to set hover or selected states in the .style method of the controls. I have tried many things, but I didn't manage to get it to work.
Basically, I would need something like this:
Thanks.
I would like to be able to set hover or selected states in the .style method of the controls. I have tried many things, but I didn't manage to get it to work.
Basically, I would need something like this:
B4X:
btn.Style = "-fx-background-color:white; .:hover{-fx-background-color:black;} .:selected{-fx-background-color:red;}"
Thanks.