TeeTree and CenterInView

TeeTree VCL for Borland Delphi and C++ Builder.
Post Reply
TVD Support
Newbie
Newbie
Posts: 3
Joined: Tue Mar 22, 2011 12:00 am
Contact:

TeeTree and CenterInView

Post by TVD Support » Wed Sep 07, 2011 1:07 am

Hi,

We have recently upgraded from Delphi6 to XE.

Strange TeeTree behaviour using CenterInView - the entire Tree moves to the center.

I have changed the property ZoomCentered:= True.
This now gives me the vertical behaviour I expect. The desired Node is now in the center of the Tree control display as expected.

Unfortunately horizontally, the entire Tree itself can move to the right, away from the left margin. I do not want the tree to move away from the left edge when using CenterInView, simply show the node in the center.

Any advice greatly appreciated.

Paul

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

Re: TeeTree and CenterInView

Post by Yeray » Thu Sep 08, 2011 11:37 am

Hello Paul,

Could you please send us a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.

PS: I've moved this to the TeeTree section
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