Remove header and footer TileList

Hello


I want to remove the header and footer of the TileList, how can I do that in design time?

You can remove the header and footer with the following code, or you can disable it in the style editor by selecting the corresponding element. This is explained in the documentation on the Style Designer


procedure TForm1.TMSFMXTileList1ApplyStyleLookup(Sender: TObject);
begin
  TMSFMXTileList1.GetHeader.Visible := False;
  TMSFMXTileList1.GetFooter.Visible := False;
end;

Kind Regards, 
Pieter

Hello Pieter


Thanks for your answer. 

The lines above compile with no problem, However the App doesn't run. I test on iOS and Android but it won't work, If I remove the two lines you wrote me, the App run perfectly, so this is not a good solution.

I use Delphi XE6