Button on TableViewEx Header

I'm trying to place a tbutton on the tableview header with a stylelookup of drawertoolbuttonbordered. In the tableview constructor:



var
  drawerButton: TButton;
begin
  inherited Create(AOwner);
  Parent := TTMSFMXBaseControl(AOwner);
  drawerButton := TButton.Create(GetHeaderRectangle);
  drawerButton.Parent := GetHeaderRectangle;
  DrawerButton.StyleLookup := 'drawertoolbuttonbordered';
  drawerButton.Position.Point.SetLocation(0,0);
  drawerButton.Visible := True;
  drawerButton.BringToFront;

When I run the app, nothing shows up. Elsewhere I have set the backbutton visible to false. What else do I need to do here?

Hi, 


Can you send us a complete sample? It's unclear exactly what is happening or what is missing in order to add the button to the header.

Never mind, I worked around it with a separate rectangle. I'll do a separate post for another issue...


Thanks.