invisible node border becomes visible on scrolling

TeeTree VCL for Borland Delphi and C++ Builder.
Post Reply
Collinor
Newbie
Newbie
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);
var
  liI     : Integer;
  lxNode,
  lxChild : TTreeNodeShape;
begin
  Tree1.Canvas := TTeeCanvas3D.Create;
  lxNode := Tree1.AddRoot('Root');

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

  for liI := 1 to 100 do
  begin
    lxChild := lxNode.AddChild(IntToStr(liI));
    lxChild.Border.Visible := False;
    lxChild.ImageIndex     := tiNone;
   end;
  lxNode.Expanded := True;
end;
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.

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

Re: invisible node border becomes visible on scrolling

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

Hello,

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