anchor.diff:    LCountOnPage2: Integer;
     LGridUnusedHeight, LPotentialHeight: integer;
     LWasVisible: boolean;
  +  LHasFilter: boolean;
   
     function RecalcPageCount: boolean;
     var
  
positive.code:   end;
  
    // show or hide Search Panel (related to option vgoAutoHideSearchPanel)
    if (vgoAutoHideSearchPanel in FOptions) and (FPageCount in [0,1]) then
    begin
      if FCanSearch then
      begin
  
negative.code:           LGridUnusedHeight := FDrawGrid.ClientHeight - FDrawGrid.GridHeight;
            LPotentialHeight := FBottomPanel.Height + LGridUnusedHeight;
            // vgoAutoHideSearchPanel + AutoPageSize + vgoAutoHidePaging is killer combo :P
            if (vgoAutoHideSearchPanel in FOptions) and FTopPanel.Visible and not Assigned(FWidgetControl)
             and not LHasFilter then
              LPotentialHeight := LPotentialHeight + FTopPanel.Height;
            if FBottomPanel.Visible
             and (FDrawGrid.DefaultRowHeight * LCountOnPage2 <= LPotentialHeight) then
  