Changing descripcion color on TTMSFMXTableView Item

Hello

I use the code "AItemShape.ShapeDescription.Color := TAlphaColorRec.Dodgerblue;" on ItemCustomize in order to change the color of my description items.

It works very well, except that when I change the value of the item or scroll the tableview it returns to the gray color.

How can I fix this?

Also I need to change the color of description when the item is selected (shadow)

Thanks for your help

Hi,

You need to use

  AItemShape.DescriptionColor := TAlphaColorRec.Dodgerblue;

Instead, because you are alternating the property directly on the shape instead of the persisted value.

Thanks