I'm trying to color the AItem.ShapePlaceHolder rectangle on the TableViewEx Item. I'm not begin successful.
procedure TfrmTrack.TrackViewItemCustomize(Sender: TObject;
AItem: TTMSFMXTableViewItem;
AItemShape: TTMSFMXTableViewItemShape;
AItemControlShape: TControl);
var
panel: TRectangle;
begin
panel := AItem.ShapePlaceHolder;
if Assigned(panel) then
begin
panel.Size.Width := 28;
panel.Fill.Color := TAlphaColorRec.Red;// FData.GetStatusColor(AItem.Tag,scResults);
end;
end;
Should I expect this to work?
Thanks.