Jump to content
marchomal

TListView different background color for each item

Recommended Posts

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

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 :classic_wink:

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×