I am trying to do a very simpple change in a StyleBook.
I have added the tableviews default style to a stylebook and am changing the TMSFMXTableViewstyle: TRectangle Fill.Color and it makes no difference either visually when editing the style book or in the app.
It is the ItemBackground element that can be changed and the background will only be visible if the items do not exceed the height of the tableview or when they have transparency included.
Kind Regards,
Pieter
Can this be done programatically?
Ken
Sorry, worked it out for myself.
In the ONApplyStyleLookupEvent do:
TRectangle(TTMSFMXTableView(Sender).GetListBackGround).Fill.Color:=TAlphaColors.Midnightblue;
TRectangle(TTMSFMXTableView(Sender).GetListBackGround).Stroke.Color:=TAlphaColors.Midnightblue;