Would make it possible to hide a status panel, maybe with a .Visible property, or adjust the code when Width = 0, to not draw the panel at all (now with width 0 there is still a small rectangle visible).
procedure TTMSFNCCustomStatusBar.DrawAllPanels(AGraphics: TTMSFNCGraphics;
ARect: TRectF);
var
I: Integer;
r: TRectF;
b, df: Boolean;
begin
for I := 0 to Panels.Count - 1 do
begin
if Panels.Items[i].Width>0 then
begin
...........
end;
end;
FPanelPos := 0;
end;