Page 1 of 1

TeeTree and CenterInView

Posted: Wed Sep 07, 2011 1:07 am
by 16558805

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.


Re: TeeTree and CenterInView

Posted: Thu Sep 08, 2011 11:37 am
by yeray
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