anchor.diff:      UrlTarg, FormControl, ATitle);
   end;
   
  -//-- BG ---------------------------------------------------------- 23.11.2010 --
  -function THtmlViewer.GetViewerStateBit(Index: THtmlViewerStateBit): Boolean;
  -begin
  -  Result := Index in FViewerState;
  -end;
  +//BG, 25.11.2010: C++Builder fails handling enumeration indexed properties
  +////-- BG ---------------------------------------------------------- 23.11.2010 --
  +//function THtmlViewer.GetViewerStateBit(Index: THtmlViewerStateBit): Boolean;
  +//begin
  +//  Result := Index in FViewerState;
  +//end;
   
   //-- BG ---------------------------------------------------------- 23.11.2010 --
   procedure THtmlViewer.SetViewerStateBit(Index: THtmlViewerStateBit; Value: Boolean);
  
positive.code:     function MakeMetaFile(YTop, FormatWidth, Width, Height: Integer): TMetaFile;
      function MakePagedMetaFiles(Width, Height: Integer): TList;
  {$endif}
      function NumPrinterPages(var WidthRatio: Double): Integer; overload;
      function NumPrinterPages: Integer; overload;
      function PositionTo(Dest: string): Boolean;
      function PrintPreview(MFPrinter: TMetaFilePrinter; NoOutput: Boolean = False): Integer; virtual;
  
negative.code:   Result := NumPrinterPages(Dummy);
  end;
  
  function THtmlViewer.NumPrinterPages(out WidthRatio: Double): Integer;
  var
    MFPrinter: TMetaFilePrinter;
  begin
  