
Index
Subject: TeeTree does not scroll to take that selected shape in view.
From: ts_pratik@rediffmail.com (Newsgroups) Steema Software SL
Newsgroup: steema.public.teetree2
Date: Wed, 06 Jul 2005 07:07:37 +0200
Hi Tom,
I am facing a problem in TeeTree2.
I have set the property ScrollinView = True.
But when I select some Shape (programatically) which is not in view then
the TeeTree does not scroll to take that selected shape in view.
The other properties are set as follows:
object TTree1: TTree
AllowDelete = False
HotTrack.HotLink = False
Page.Border.Visible = False
ScrollMouseButton = mbMiddle
Selected.Border.Color = clBlack
Selected.Border.Style = psSolid
Selected.Border.SmallDots = False
Selected.Border.Visible = False
Selected.Color = 16769716
Selected.ColorUnFocused = 16769716
Selected.ShiftState = []
Selected.TextColor = clBlack
ShowRootCross = False
SnapToGrid = False
TextEditor.Enabled = False
VertScrollBar.Flat = True
VertScrollBar.Max = 411
VertScrollBar.PageSize = 379
WheelNavigation = wnScrollVert
Zoom.Allow = False
Zoom.Animated = True
Zoom.Pen.Mode = pmNotXor
OnChanging = TTree1Changing
OnClickBackground = TTree1ClickBackground
OnClickShape = TTree1ClickShape
OnKeyDown = TTree1KeyDown
OnSelectShape = TTree1SelectShape
OnUnSelectShape = TTree1UnSelectShape
OnZoom = TTree1Zoom
Align = alClient
BevelInner = bvNone
BevelOuter = bvNone
BorderStyle = bsSingle
Color = 14808319
ParentShowHint = False
ShowHint = True
end
Please help me.
Thanks in advance.
Regards,
Pratik