anchor.diff:    HWidth  := Width - 4;
   
     if FVScrollBar.Visible then
  -    Dec(HWidth, FVScrollBar.Width);
  +    Dec(HWidth, FScrollbarWidth);
     if FHScrollBar.Visible then
  -    Dec(VHeight, FHScrollBar.Height);
  +    Dec(VHeight, FScrollbarWidth);
   
     FHScrollBar.Top     := Height -FHScrollBar.Height - 2;
     FHScrollBar.Left    := 2;
  
positive.code: Function TRichTextView.GetTextAreaRect: TfpgRect;
  begin
    Result := GetDrawRect;
  //  InflateRect(Result, -2, -2);
  end;
  
  Function TRichTextView.GetTextAreaHeight: longint;
  
negative.code:     exit;
  
    if FNeedHScroll then
      dec( Result.Height, FScrollbarWidth );
  
    if FNeedVScroll then
      dec( Result.Width, FScrollbarWidth );
  