invisible node border becomes visible on scrolling

TeeTree VCL for Borland Delphi and C++ Builder.
Post Reply
Posts: 12
Joined: Wed Oct 16, 2013 12:00 am

invisible node border becomes visible on scrolling

Post by Collinor » Fri Aug 15, 2014 12:38 pm

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.

Site Admin
Site Admin
Posts: 9255
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia

Re: invisible node border becomes visible on scrolling

Post by Yeray » Mon Aug 18, 2014 11:23 am


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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply