Change colour of Firemonkey TGrid header

  

I right-click on the TGrid and select ‘Edit custom style…’. In the FMX style designer Structure box I expand Grid1Style1 then Background and select header. I then drop a TFillRect (no idea if that’s the best choice) from the tool pallette on the header, set the FillEffect colour and all seems well. The header now shows in that colour and when I close the style designer and return to the form the grid header looks as I want it.

The app builds OK but when i click run I get the error ‘Class TFillEffect not found’. Can anyone kindly tell me if I’m on the right track and, if so, how to get around this error?

Comments are closed.