TMlSkinVirtualStringTree
A skinned VirtualStringTree: the well-known third-party tree control fitted with skinned scrollbars and border.
Notes
- The tree itself works exactly as in VirtualTreeView — node data, columns and events are unchanged.
- Scrolling comes from
HScrollBarandVScrollBar, and the outer border can be drawn by aMlSkinBorderPanel.
Example
From the demo MlSkin.Demo.360云盘.v3.0 (.dfm form file)
object mlsknvrtlstrngtr1: TMlSkinVirtualStringTree
Left = 0
Top = 0
Width = 870
Height = 453
Align = alClient
BorderStyle = bsNone
DefaultNodeHeight = 45
Header.AutoSizeIndex = 1
Header.Background = 16578291
Header.DefaultHeight = 40
Header.Font.Charset = DEFAULT_CHARSET
Header.Font.Color = clWindowText
Header.Font.Height = -11
Header.Font.Name = 'Tahoma'
Header.Font.Style = []
Header.Height = 40
Header.Options = [hoAutoResize, hoOwnerDraw, hoShowSortGlyphs, hoVisible]
Margin = 0
TabOrder = 0
Properties 4
| Name | Type | Default | Description |
|---|---|---|---|
About | TMlAboutInfo | — | A design-time property: double-clicking it in the Object Inspector opens the MLSkin about box with the component version. It has no effect at run time and is not stored in the .dfm. |
MlSkinBorderPanel | TMlSkinBorderPanel | — | The border panel to attach; once set it draws this control's outer border. |
VScrollBar | TMlSkinScrollBar | — | Settings for the vertical scrollbar; it looks and behaves like TMlSkinScrollBar. |
HScrollBar | TMlSkinScrollBar | — | Settings for the horizontal scrollbar; it looks and behaves like TMlSkinScrollBar. |
Events 1
| Name | Type | Default | Description |
|---|---|---|---|
OnScrollBarChange | TNotifyEvent | — | Fires when the scrollbar position changes. |
Only the properties and events MLSkin adds are listed here. Standard VCL properties such as Align, Anchors, Font and OnClick are available too and behave exactly as on the stock controls.
Offline helpA PDF / CHM version is available for offline reading.