Firemonkey Customlistbox stylesData rectangle color

  

I’creating my own custom listbox item with a TRectangle on the background.
Like the sample project “CustomListbox” I want to change the Color of the rectangle runtime using StylesData.

So far I’m not able to figure out how to do this. I think using TValue somehow?

How can I set the color of TRectangle style of a listboxitem?

Comments are closed.