Patent Member Licensed User Longtime User Dec 25, 2015 #1 hi everybody, how can i do a "Highlight" Effect on an ListView or TreeView Item when moving over with the Mouse (not clicking)? Changeing the background colour for the item for instance. Is this Possible with the Scene Builder or just in code? many thanks Patent
hi everybody, how can i do a "Highlight" Effect on an ListView or TreeView Item when moving over with the Mouse (not clicking)? Changeing the background colour for the item for instance. Is this Possible with the Scene Builder or just in code? many thanks Patent
Erel B4X founder Staff member Licensed User Longtime User Dec 27, 2015 #2 You can use a css file with: B4X: .list-cell:hover { -fx-background-color: red; -fx-text-fill: white; } Check the attached example. Attachments 1.zip 1.9 KB · Views: 167 Upvote 0
You can use a css file with: B4X: .list-cell:hover { -fx-background-color: red; -fx-text-fill: white; } Check the attached example.
Patent Member Licensed User Longtime User Dec 29, 2015 #3 Thank you Erel, thats exactly what i need. greets Patent Upvote 0