Files
lazarus-ccr/components/virtualtreeview-unstable/demos/advanced/DrawTreeDemo.lfm

162 lines
5.8 KiB
Plaintext
Raw Normal View History

object DrawTreeForm: TDrawTreeForm
Left = 333
Height = 477
Top = 339
Width = 710
HorzScrollBar.Page = 709
VertScrollBar.Page = 476
ActiveControl = VDT1
Caption = 'DrawTreeForm'
ClientHeight = 477
ClientWidth = 710
Font.Height = -13
Font.Name = 'Trebuchet MS'
OnCreate = FormCreate
object Label7: TLabel
Height = 61
Width = 710
Align = alTop
AutoSize = False
Caption = 'A sample for a draw tree, which shows images of all known types as thumbnails. By default this tree uses the image loader library GraphicEx to support many common image formats like png, gif etc. (see www.delphi-gems.com for more infos and download).'
Color = clNone
ParentColor = False
WordWrap = True
end
object Label1: TLabel
Left = 4
Height = 17
Top = 382
Width = 298
Anchors = [akLeft, akBottom]
Caption = 'Adjust vertical image alignment of nodes:'
Color = clNone
ParentColor = False
end
object Label3: TLabel
Left = 424
Height = 17
Top = 382
Width = 33
Anchors = [akLeft, akBottom]
Caption = '50%'
Color = clNone
ParentColor = False
end
object VDT1: TVirtualDrawTree
Left = 10
Height = 278
Top = 84
Width = 684
Anchors = [akTop, akLeft, akRight, akBottom]
AutoExpandDelay = 200
AutoScrollDelay = 200
ClipboardFormats.Strings = (
'Virtual Tree Data'
)
Colors.BorderColor = clWindowText
Colors.HotColor = clBlack
Colors.TreeLineColor = clBtnFace
DefaultNodeHeight = 32
Header.AutoSizeIndex = -1
Header.Background = clBtnHighlight
Header.Height = 22
Header.Options = [hoColumnResize, hoDblClickResize, hoDrag, hoRestrictDrag, hoShowSortGlyphs, hoVisible]
Header.ParentFont = True
Header.Style = hsPlates
HintAnimation = hatNone
HintMode = hmHint
Images = SystemImages
IncrementalSearch = isAll
Indent = 20
LineMode = lmBands
ParentShowHint = False
RootNodeCount = 10
ScrollBarOptions.VerticalIncrement = 32
ShowHint = True
TabOrder = 0
TreeOptions.AnimationOptions = [toAnimatedToggle]
TreeOptions.AutoOptions = [toAutoDropExpand, toAutoScroll, toAutoScrollOnExpand, toAutoTristateTracking, toAutoDeleteMovedNodes]
TreeOptions.PaintOptions = [toShowBackground, toShowButtons, toShowDropmark, toShowHorzGridLines, toShowRoot, toShowTreeLines, toShowVertGridLines, toThemeAware]
TreeOptions.SelectionOptions = [toFullRowSelect]
OnCompareNodes = VDT1CompareNodes
OnDrawHint = VDT1DrawHint
OnDrawNode = VDT1DrawNode
OnFreeNode = VDT1FreeNode
OnGetHintSize = VDT1GetHintSize
OnGetImageIndex = VDT1GetImageIndex
OnGetNodeWidth = VDT1GetNodeWidth
OnHeaderClick = VDT1HeaderClick
OnInitChildren = VDT1InitChildren
OnInitNode = VDT1InitNode
OnStateChange = VDT1StateChange
Columns = <
item
Options = [coAllowClick, coEnabled, coParentColor, coResizable, coShowDropMark, coVisible]
Width = 217
WideText = 'Image file name'
end
item
Position = 1
Width = 200
WideText = 'Thumbnail'
end
item
Position = 2
Width = 160
WideText = 'Properties'
end>
end
object TrackBar1: TTrackBar
Left = 264
Height = 33
Top = 367
Width = 157
Max = 100
OnChange = TrackBar1Change
Position = 50
ScalePos = trTop
TickStyle = tsNone
Anchors = [akLeft, akBottom]
TabOrder = 1
end
object SystemImages: TImageList
left = 450
top = 404
Bitmap = {
6C69010000001000000010000000040400002F2A2058504D202A2F0A73746174
69632063686172202A677261706869635B5D203D207B0A223136203136203434
2031222C0A222E2063204E6F6E65222C0A222C20632023434339393333222C0A
222D20632023434239383332222C0A222A20632023433939363330222C0A2261
20632023433739343245222C0A226220632023464646464646222C0A22632063
2023433238463239222C0A226420632023464646463939222C0A226520632023
424438413234222C0A226620632023424138373231222C0A2267206320234237
38343145222C0A226820632023423538323143222C0A22692063202342333830
3141222C0A226A20632023423037443137222C0A226B20632023464646373931
222C0A226C20632023464646343845222C0A226D20632023414537423135222C
0A226E20632023464645423835222C0A226F20632023464645363830222C0A22
7020632023433539323243222C0A227120632023433038443237222C0A227220
632023424338393233222C0A227320632023423838353146222C0A2274206320
23423438313142222C0A227520632023464645303741222C0A22762063202341
3337303041222C0A227720632023464644343645222C0A227820632023463843
353546222C0A227920632023413036443037222C0A227A206320233033303330
33222C0A224120632023464643433636222C0A22422063202345464243353622
2C0A224320632023394536423035222C0A224420632023453642333444222C0A
224520632023394336393033222C0A224620632023424638433236222C0A2247
20632023444341393433222C0A224820632023394136373031222C0A22492063
2023443341303341222C0A224A20632023393936363030222C0A224B20632023
414237383132222C0A224C20632023413837353046222C0A224D206320234135
37323043222C0A224E20632023303230323032222C0A222E2E2E2E2E2E2E2E2E
2E2E2E2E2E2E2E222C0A222E2E2E2E2E2E2E2E2E2E2E2E2E2E2E2E222C0A222E
2E2C2D2A612E2E2E2E2E2E2E2E2E2E222C0A222E2C62626262632E2E2E2E2E2E
2E2E2E222C0A222C62646464646265666768696A2E2E2E222C0A222D6B6C6C6C
6C6C62626262626D2E2E2E222C0A222A6E6F7070707070707172737469692E22
2C0A226175706262626262626262626F62762E222C0A2270772C646464646464
6464647864797A222C0A2263412D646B6B6B6B6B6B6B6B4264437A222C0A2271
4170646E6E6E6E6E6E6E6E4464457A222C0A2265414664757575757575757547
64487A222C0A2266417364777777777777777749644A7A222C0A222E68696A6D
4B4C4D76794345484A4E2E222C0A222E2E2E7A7A7A7A7A7A7A7A7A7A7A2E2E22
2C0A222E2E2E2E2E2E2E2E2E2E2E2E2E2E2E2E227D0A
}
end
end