marchomal 0 Posted March 30, 2021 Hi, I have an FMX project with a TListView component. I can change the text color of each item in the TListView component. I want to change the background color of items in TListView. When I use a TStyleBook I can change the background of all items in the TListView with the same color. But, how I can change the background of the each item in the TListView component, a different background color for each item? Best regards Share this post Link to post
Rollo62 536 Posted March 30, 2021 I reworked TListView a lot, but maybe that helps for your case: https://stackoverflow.com/questions/37570047/change-alternating-colors-in-firemonkey-tlistview https://github.com/rzaripov1990/ModernListView Share this post Link to post
Serge_G 87 Posted March 30, 2021 It depends on whether you are using a dynamic skin or not. I wrote a few posts and tutorials (in French) on the subject. Anyway if you can't read French, googletrad should be your friend blog : https://www.developpez.net/forums/blogs/138527-sergiomaster/ tutorials list : https://serge-girard.developpez.com/ in my mind this one https://serge-girard.developpez.com/tutoriels/Delphi/Livebindings/ListView/ Share this post Link to post