anchor.diff:  begin
     Result := nil;
     h := TfpgTabSheet(FPages.First);
  -
     lp := FMargin;
  -  if MaxButtonWidthSum > (Width-(FMargin*2)) then
  -    h := FFirstTabButton;
   
     case TabPosition of
       tpTop:
  
positive.code: 
    if TabPosition in [tpTop, tpBottom] then
    begin
      if (y > p1) and (y < p2) then
      begin
         while h <> nil do
  
negative.code: {
      fpGUI  -  Free Pascal GUI Toolkit
  
      Copyright (C) 2006 - 2014 See the file AUTHORS.txt, included in this
      distribution, for details of the copyright.
  
      See the file COPYING.modifiedLGPL, included in this distribution,
  