anchor.diff:      //new
       property DoubleBuffered;
       property Images: TImageList read FImages write FImages;
  +
       //colors
  -    property ColorBg: TColor read FColorBg write FColorBg;
  -    property ColorDropMark: TColor read FColorDropMark write FColorDropMark;
  -    property ColorBorderActive: TColor read FColorBorderActive write FColorBorderActive;
  -    property ColorBorderPassive: TColor read FColorBorderPassive write FColorBorderPassive;
  -    property ColorTabActive: TColor read FColorTabActive write FColorTabActive;
  -    property ColorTabPassive: TColor read FColorTabPassive write FColorTabPassive;
  -    property ColorTabOver: TColor read FColorTabOver write FColorTabOver;
  -    property ColorFontModified: TColor read FColorFontModified write FColorFontModified;
  -    property ColorCloseBg: TColor read FColorCloseBg write FColorCloseBg;
  -    property ColorCloseBgOver: TColor read FColorCloseBgOver write FColorCloseBgOver;
  -    property ColorCloseBorderOver: TColor read FColorCloseBorderOver write FColorCloseBorderOver;
  -    property ColorCloseX: TColor read FColorCloseX write FColorCloseX;
  -    property ColorCloseXOver: TColor read FColorCloseXOver write FColorCloseXOver;
  -    property ColorArrow: TColor read FColorArrow write FColorArrow;
  -    property ColorArrowOver: TColor read FColorArrowOver write FColorArrowOver;
  -    property ColorScrollMark: TColor read FColorScrollMark write FColorScrollMark;
  -    //spaces
  -    property OptTabHeight: integer read FOptTabHeight write FOptTabHeight;
  -    property OptTabWidthNormal: integer read FOptTabWidthNormal write FOptTabWidthNormal;
  -    property OptTabWidthMinimal: integer read FOptTabWidthMinimal write FOptTabWidthMinimal;
  -    property OptTabWidthMinimalHidesX: integer read FOptTabWidthMinimalHidesX write FOptTabWidthMinimalHidesX;
  -    property OptTabAngle: integer read FOptTabAngle write FOptTabAngle;
  -    property OptUseAngleForMaxTabs: integer read FOptUseAngleForMaxTabs write FOptUseAngleForMaxTabs;
  -    property OptDropMarkSize: integer read FOptDropMarkSize write FOptDropMarkSize;
  -    property OptSpaceBetweenTabs: integer read FOptSpaceBetweenTabs write FOptSpaceBetweenTabs;
  -    property OptSpaceInitial: integer read FOptSpaceInitial write FOptSpaceInitial;
  -    property OptSpaceBeforeText: integer read FOptSpaceBeforeText write FOptSpaceBeforeText;
  -    property OptSpaceOnTop: integer read FOptSpaceOnTop write FOptSpaceOnTop;
  -    property OptSpaceXRight: integer read FOptSpaceXRight write FOptSpaceXRight;
  -    property OptSpaceXInner: integer read FOptSpaceXInner write FOptSpaceXInner;
  -    property OptSpaceXSize: integer read FOptSpaceXSize write FOptSpaceXSize;
  -    property OptColoredBandSize: integer read FOptColoredBandSize write FOptColoredBandSize;
  -    property OptArrowSize: integer read FOptArrowSize write FOptArrowSize;
  -    property OptArrowSpaceLeft: integer read FOptArrowSpaceLeft write FOptArrowSpaceLeft;
  -    property OptArrowSpaceRight: integer read FOptArrowSpaceRight write FOptArrowSpaceRight;
  -    property OptScrollMarkSizeX: integer read FOptScrollMarkSizeX write FOptScrollMarkSizeX;
  -    property OptScrollMarkSizeY: integer read FOptScrollMarkSizeY write FOptScrollMarkSizeY;
  -
  -    property OptShowAtBottom: boolean read FOptShowAtBottom write FOptShowAtBottom;
  -    property OptShowScrollArrows: boolean read FOptShowScrollArrows write FOptShowScrollArrows;
  -    property OptShowScrollMark: boolean read FOptShowScrollMark write FOptShowScrollMark;
  -    property OptShowDropMark: boolean read FOptShowDropMark write FOptShowDropMark;
  -    property OptShowXButtons: TATTabShowClose read FOptShowXButtons write FOptShowXButtons;
  -    property OptShowPlusTab: boolean read FOptShowPlusTab write FOptShowPlusTab;
  +    property ColorBg: TColor read FColorBg write FColorBg default _InitTabColorBg;
  +    property ColorBorderActive: TColor read FColorBorderActive write FColorBorderActive default _InitTabColorBorderActive;
  +    property ColorBorderPassive: TColor read FColorBorderPassive write FColorBorderPassive default _InitTabColorBorderPassive;
  +    property ColorTabActive: TColor read FColorTabActive write FColorTabActive default _InitTabColorTabActive;
  +    property ColorTabPassive: TColor read FColorTabPassive write FColorTabPassive default _InitTabColorTabPassive;
  +    property ColorTabOver: TColor read FColorTabOver write FColorTabOver default _InitTabColorTabOver;
  +    property ColorFontModified: TColor read FColorFontModified write FColorFontModified default _InitTabColorFontModified;
  +    property ColorCloseBg: TColor read FColorCloseBg write FColorCloseBg default _InitTabColorCloseBg;
  +    property ColorCloseBgOver: TColor read FColorCloseBgOver write FColorCloseBgOver default _InitTabColorCloseBgOver;
  +    property ColorCloseBorderOver: TColor read FColorCloseBorderOver write FColorCloseBorderOver default _InitTabColorCloseBorderOver;
  +    property ColorCloseX: TColor read FColorCloseX write FColorCloseX default _InitTabColorCloseX;
  +    property ColorCloseXOver: TColor read FColorCloseXOver write FColorCloseXOver default _InitTabColorCloseXOver;
  +    property ColorArrow: TColor read FColorArrow write FColorArrow default _InitTabColorArrow;
  +    property ColorArrowOver: TColor read FColorArrowOver write FColorArrowOver default _InitTabColorArrowOver;
  +    property ColorDropMark: TColor read FColorDropMark write FColorDropMark default _InitTabColorDropMark;
  +    property ColorScrollMark: TColor read FColorScrollMark write FColorScrollMark default _InitTabColorScrollMark;
  +
  +    //options
  +    property OptTabHeight: integer read FOptTabHeight write FOptTabHeight default _InitOptTabHeight;
  +    property OptTabWidthNormal: integer read FOptTabWidthNormal write FOptTabWidthNormal default _InitOptTabWidthNormal;
  +    property OptTabWidthMinimal: integer read FOptTabWidthMinimal write FOptTabWidthMinimal default _InitOptTabWidthMinimal;
  +    property OptTabWidthMinimalHidesX: integer read FOptTabWidthMinimalHidesX write FOptTabWidthMinimalHidesX default _InitOptTabWidthMinimalHidesX;
  +    property OptTabAngle: integer read FOptTabAngle write FOptTabAngle default _InitOptTabAngle;
  +    property OptUseAngleForMaxTabs: integer read FOptUseAngleForMaxTabs write FOptUseAngleForMaxTabs default _InitOptUseAngleForMaxTabs;
  +    property OptSpaceBetweenTabs: integer read FOptSpaceBetweenTabs write FOptSpaceBetweenTabs default _InitOptSpaceBetweenTabs;
  +    property OptSpaceInitial: integer read FOptSpaceInitial write FOptSpaceInitial default _InitOptSpaceInitial;
  +    property OptSpaceBeforeText: integer read FOptSpaceBeforeText write FOptSpaceBeforeText default _InitOptSpaceBeforeText;
  +    property OptSpaceOnTop: integer read FOptSpaceOnTop write FOptSpaceOnTop default _InitOptSpaceOnTop;
  +    property OptSpaceXRight: integer read FOptSpaceXRight write FOptSpaceXRight default _InitOptSpaceXRight;
  +    property OptSpaceXInner: integer read FOptSpaceXInner write FOptSpaceXInner default _InitOptSpaceXInner;
  +    property OptSpaceXSize: integer read FOptSpaceXSize write FOptSpaceXSize default _InitOptSpaceXSize;
  +    property OptColoredBandSize: integer read FOptColoredBandSize write FOptColoredBandSize default _InitOptColoredBandSize;
  +    property OptArrowSize: integer read FOptArrowSize write FOptArrowSize default _InitOptArrowSize;
  +    property OptArrowSpaceLeft: integer read FOptArrowSpaceLeft write FOptArrowSpaceLeft default _InitOptArrowSpaceLeft;
  +    property OptArrowSpaceRight: integer read FOptArrowSpaceRight write FOptArrowSpaceRight default _InitOptArrowSpaceRight;
  +    property OptScrollMarkSizeX: integer read FOptScrollMarkSizeX write FOptScrollMarkSizeX default _InitOptScrollMarkSizeX;
  +    property OptScrollMarkSizeY: integer read FOptScrollMarkSizeY write FOptScrollMarkSizeY default _InitOptScrollMarkSizeY;
  +    property OptDropMarkSize: integer read FOptDropMarkSize write FOptDropMarkSize default _InitOptDropMarkSize;
  +
  +    property OptShowAtBottom: boolean read FOptShowAtBottom write FOptShowAtBottom default _InitOptShowAtBottom;
  +    property OptShowScrollArrows: boolean read FOptShowScrollArrows write FOptShowScrollArrows default _InitOptShowScrollArrows;
  +    property OptShowScrollMark: boolean read FOptShowScrollMark write FOptShowScrollMark default _InitOptShowScrollMark;
  +    property OptShowDropMark: boolean read FOptShowDropMark write FOptShowDropMark default _InitOptShowDropMark;
  +    property OptShowXButtons: TATTabShowClose read FOptShowXButtons write FOptShowXButtons default _InitOptShowXButtons;
  +    property OptShowPlusTab: boolean read FOptShowPlusTab write FOptShowPlusTab default _InitOptShowPlusTab;
       property OptShowPlusText: TATTabString read FOptShowPlusText write FOptShowPlusText;
       property OptShowModifiedText: TATTabString read FOptShowModifiedText write FOptShowModifiedText;
  -    property OptShowArrowMenu: boolean read FOptShowArrowMenu write FOptShowArrowMenu;
  -    property OptShowBorderActiveLow: boolean read FOptShowBorderActiveLow write FOptShowBorderActiveLow;
  -    property OptShowEntireColor: boolean read FOptShowEntireColor write FOptShowEntireColor;
  +    property OptShowArrowMenu: boolean read FOptShowArrowMenu write FOptShowArrowMenu default _InitOptShowArrowMenu;
  +    property OptShowBorderActiveLow: boolean read FOptShowBorderActiveLow write FOptShowBorderActiveLow default _InitOptShowBorderActiveLow;
  +    property OptShowEntireColor: boolean read FOptShowEntireColor write FOptShowEntireColor default _InitOptShowEntireColor;
       property OptShowNumberPrefix: TATTabString read FOptShowNumberPrefix write FOptShowNumberPrefix;
  -    property OptMouseMiddleClickClose: boolean read FOptMouseMiddleClickClose write FOptMouseMiddleClickClose;
  -    property OptMouseDoubleClickClose: boolean read FOptMouseDoubleClickClose write FOptMouseDoubleClickClose;
  -    property OptMouseDoubleClickPlus: boolean read FOptMouseDoubleClickPlus write FOptMouseDoubleClickPlus;
  -    property OptMouseDragEnabled: boolean read FOptMouseDragEnabled write FOptMouseDragEnabled;
  -    property OptMouseDragOutEnabled: boolean read FOptMouseDragOutEnabled write FOptMouseDragOutEnabled;
  +    property OptMouseMiddleClickClose: boolean read FOptMouseMiddleClickClose write FOptMouseMiddleClickClose default _InitOptMouseMiddleClickClose;
  +    property OptMouseDoubleClickClose: boolean read FOptMouseDoubleClickClose write FOptMouseDoubleClickClose default _InitOptMouseDoubleClickClose;
  +    property OptMouseDoubleClickPlus: boolean read FOptMouseDoubleClickPlus write FOptMouseDoubleClickPlus default _InitOptMouseDoubleClickPlus;
  +    property OptMouseDragEnabled: boolean read FOptMouseDragEnabled write FOptMouseDragEnabled default _InitOptMouseDragEnabled;
  +    property OptMouseDragOutEnabled: boolean read FOptMouseDragOutEnabled write FOptMouseDragOutEnabled default _InitOptMouseDragOutEnabled;
   
       //events
       property OnTabClick: TNotifyEvent read FOnTabClick write FOnTabClick;
  
positive.code:   FMouseDownPnt:= Point(0, 0);
    FMouseDownDbl:= false;
  
    FColorBg:= clBlack;
    FColorDropMark:= $6060E0;
    FColorTabActive:= $808080;
    FColorTabPassive:= $786868;
    FColorTabOver:= $A08080;
    FColorFontModified:= $A00000;
    FColorBorderActive:= $A0A0A0;
    FColorBorderPassive:= $A07070;
    FColorCloseBg:= clNone;
    FColorCloseBgOver:= $6060E0;
    FColorCloseBorderOver:= FColorCloseBgOver;
    FColorCloseX:= clLtGray;
    FColorCloseXOver:= clWhite;
    FColorArrow:= $999999;
    FColorArrowOver:= $E0E0E0;
    FColorScrollMark:= FColorDropMark;
  
    FOptTabAngle:= 4;
    FOptUseAngleForMaxTabs:= 10;
    FOptTabHeight:= 24;
    FOptTabWidthMinimal:= 40;
    FOptTabWidthNormal:= 130;
    FOptTabWidthMinimalHidesX:= 55;
    FOptSpaceInitial:= 30; //big for scroll arrows
    FOptSpaceBeforeText:= 6;
    FOptSpaceBetweenTabs:= 0;
    FOptSpaceOnTop:= 5;
    FOptSpaceXRight:= 10;
    FOptSpaceXInner:= 3;
    FOptSpaceXSize:= 12;
    FOptArrowSize:= 4;
    FOptArrowSpaceLeft:= 4;
    FOptArrowSpaceRight:= 20;
    FOptColoredBandSize:= 3;
    FOptScrollMarkSizeX:= 20;
    FOptScrollMarkSizeY:= 3;
    FOptDropMarkSize:= 6;
  
    FOptShowAtBottom:= false;
    FOptShowNumberPrefix:= '';
    FOptShowScrollArrows:= true;
    FOptShowScrollMark:= true;
    FOptShowDropMark:= true;
    FOptShowXButtons:= tbShowAll;
    FOptShowPlusTab:= true;
    FOptShowPlusText:= ' + ';
    FOptShowModifiedText:= '*';
    FOptShowArrowMenu:= true;
    FOptShowBorderActiveLow:= false;
    FOptShowEntireColor:= false;
  
    FOptMouseMiddleClickClose:= true;
    FOptMouseDoubleClickClose:= true;
    FOptMouseDoubleClickPlus:= false;
    FOptMouseDragEnabled:= true;
    FOptMouseDragOutEnabled:= true;
  
    FBitmap:= TBitmap.Create;
    FBitmap.PixelFormat:= pf24bit;
    FBitmap.Width:= 1600;
    FBitmap.Height:= 60;
  
    Font.Name:= 'Tahoma';
    Font.Color:= $E0E0E0;
    Font.Size:= 8;
  
    FTabIndex:= 0;
    FTabIndexOver:= -1;
  
negative.code: 
      //colors
      FColorBg: TColor; //color of background (visible at top and between tabs)
      FColorBorderActive: TColor; //color of 1px border of active tab
      FColorBorderPassive: TColor; //color of 1px border of inactive tabs
      FColorTabActive: TColor; //color of active tab
  