Page 1 of 1

invisible node border becomes visible on scrolling

Posted: Fri Aug 15, 2014 12:38 pm
by 16567585
With TeeTree of TeeChart 2014 an invisible node border becomes visible on scrolling.
You can reproduce the problem by putting a TTree component on a form and adding the following code to the OnCreate event of your form:

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
  liI     : Integer;
  lxChild : TTreeNodeShape;
  Tree1.Canvas := TTeeCanvas3D.Create;
  lxNode := Tree1.AddRoot('Root');

  lxNode.Border.Visible := False;
  lxNode.ImageIndex     := tiNone;

  for liI := 1 to 100 do
    lxChild := lxNode.AddChild(IntToStr(liI));
    lxChild.Border.Visible := False;
    lxChild.ImageIndex     := tiNone;
  lxNode.Expanded := True;
Then, execute and scroll the tree to the middle.

For the moment, a workaround is to either set the node's Transparent property to true or setting the border's Visible property to true and the border's color to clWhite.

Re: invisible node border becomes visible on scrolling

Posted: Mon Aug 18, 2014 11:23 am
by yeray

I could reproduce this (scrolling with the mouse wheel) with TeeChart v2013.09, v2014.10 and v2014.11, but not with the actual sources so I'd expect this to be fixed with the next maintenance release.