TMlSkinVirtualDrawTree
A skinned VirtualDrawTree: a tree whose node content you paint yourself, with the same skinned scrollbars.
Notes
- Unlike TMlSkinVirtualStringTree the node content comes from your paint events, which suits complex custom lists.
- Scrollbars and border are configured the same way.
Example
From the demo MlSkin.Demo.QQ登陆界面.v3.0 (.dfm form file)
object vdt1: TMlSkinVirtualDrawTree
Left = 1
Top = 1
Width = 152
Height = 231
Align = alClient
BorderStyle = bsNone
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
Header.AutoSizeIndex = 0
Header.Font.Charset = DEFAULT_CHARSET
Header.Font.Color = clWindowText
Header.Font.Height = -11
Header.Font.Name = 'Tahoma'
Header.Font.Style = []
Header.MainColumn = -1
ParentFont = False
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.