Files
lazarus-ccr/components/virtualtreeview-new/trunk/demos/advanced/DrawTreeDemo.lfm
blikblum 822745d0fc * Create branches and trunk directories
* Move files to trunk

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1035 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-08 14:04:26 +00:00

157 lines
5.7 KiB
Plaintext

object DrawTreeForm: TDrawTreeForm
Left = 333
Height = 477
Top = 339
Width = 710
ActiveControl = VDT1
Caption = 'DrawTreeForm'
ClientHeight = 477
ClientWidth = 710
Font.Height = -13
Font.Name = 'Trebuchet MS'
OnCreate = FormCreate
LCLVersion = '0.9.27'
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).'
ParentColor = False
WordWrap = True
end
object Label1: TLabel
Left = 4
Height = 19
Top = 380
Width = 248
Anchors = [akLeft, akBottom]
Caption = 'Adjust vertical image alignment of nodes:'
ParentColor = False
end
object Label3: TLabel
Left = 424
Height = 19
Top = 380
Width = 23
Anchors = [akLeft, akBottom]
Caption = '50%'
ParentColor = False
end
object VDT1: TVirtualDrawTree
Left = 10
Height = 278
Top = 84
Width = 684
Anchors = [akTop, akLeft, akRight, akBottom]
AutoExpandDelay = 200
AutoScrollDelay = 200
BorderStyle = bsSingle
ClipboardFormats.Strings = (
'Virtual Tree Data'
)
Colors.BorderColor = clWindowText
Colors.HotColor = clBlack
Colors.TreeLineColor = clBtnFace
DefaultNodeHeight = 32
Header.AutoSizeIndex = -1
Header.Background = clBtnHighlight
Header.Columns = <
item
Options = [coAllowClick, coEnabled, coParentColor, coResizable, coShowDropMark, coVisible]
Text = 'Image file name'
Width = 217
end
item
Position = 1
Text = 'Thumbnail'
Width = 200
end
item
Position = 2
Text = 'Properties'
Width = 160
end>
Header.Height = 22
Header.Options = [hoColumnResize, hoDblClickResize, hoDrag, hoRestrictDrag, hoShowSortGlyphs, hoVisible]
Header.ParentFont = True
Header.Style = hsPlates
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
end
object TrackBar1: TTrackBar
Left = 264
Height = 33
Top = 367
Width = 157
Max = 100
OnChange = TrackBar1Change
Position = 50
TickStyle = tsNone
Anchors = [akLeft, akBottom]
TabOrder = 1
end
object SystemImages: TImageList
left = 450
top = 404
Bitmap = {
4C69010000001000000010000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000003399CCFF3298CBFF3096
C9FF2E94C7FF0000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000003399CCFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFF298FC2FF00000000000000000000000000000000000000000000
00000000000000000000000000003399CCFFFFFFFFFF99FFFFFF99FFFFFF99FF
FFFF99FFFFFFFFFFFFFF248ABDFF2187BAFF1E84B7FF1C82B5FF1A80B3FF177D
B0FF0000000000000000000000003298CBFF91F7FFFF8EF4FFFF8EF4FFFF8EF4
FFFF8EF4FFFF8EF4FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF157B
AEFF0000000000000000000000003096C9FF85EBFFFF80E6FFFF2C92C5FF2C92
C5FF2C92C5FF2C92C5FF2C92C5FF2C92C5FF278DC0FF2389BCFF1F85B8FF1B81
B4FF1A80B3FF1A80B3FF000000002E94C7FF7AE0FFFF2C92C5FFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80E6
FFFFFFFFFFFF0A70A3FF000000002C92C5FF6ED4FFFF3399CCFF99FFFFFF99FF
FFFF99FFFFFF99FFFFFF99FFFFFF99FFFFFF99FFFFFF99FFFFFF99FFFFFF5FC5
F8FF99FFFFFF076DA0FF030303FF298FC2FF66CCFFFF3298CBFF99FFFFFF91F7
FFFF91F7FFFF91F7FFFF91F7FFFF91F7FFFF91F7FFFF91F7FFFF91F7FFFF56BC
EFFF99FFFFFF056B9EFF030303FF278DC0FF66CCFFFF2C92C5FF99FFFFFF85EB
FFFF85EBFFFF85EBFFFF85EBFFFF85EBFFFF85EBFFFF85EBFFFF85EBFFFF4DB3
E6FF99FFFFFF03699CFF030303FF248ABDFF66CCFFFF268CBFFF99FFFFFF7AE0
FFFF7AE0FFFF7AE0FFFF7AE0FFFF7AE0FFFF7AE0FFFF7AE0FFFF7AE0FFFF43A9
DCFF99FFFFFF01679AFF030303FF2187BAFF66CCFFFF1F85B8FF99FFFFFF6ED4
FFFF6ED4FFFF6ED4FFFF6ED4FFFF6ED4FFFF6ED4FFFF6ED4FFFF6ED4FFFF3AA0
D3FF99FFFFFF006699FF030303FF000000001C82B5FF1A80B3FF177DB0FF157B
AEFF1278ABFF0F75A8FF0C72A5FF0A70A3FF076DA0FF056B9EFF03699CFF0167
9AFF006699FF020202FF00000000000000000000000000000000030303FF0303
03FF030303FF030303FF030303FF030303FF030303FF030303FF030303FF0303
03FF030303FF0000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000
}
end
end