嗨,马特
我在注册表中发现了什么(在ROOT分支中)
- Private Sub Command1_Click()
- Dim lvw As ListView
- Dim ctl As Control
- [b]Set ctl = Controls.Add("MSComctlLib.ListViewCtrl.2", "ListView1")[/b]
- With ctl
- .Left = 10
- .Top = 40
- .Height = 120
- .Width = 200
- .Visible = True
- End With
- Set lvw = ctl
- With lvw
- .ColumnHeaders.Add 1, "@", "Header1", 100
- .ColumnHeaders.Add 2, "#", "Header2", 100
- .GridLines = True
- .View = lvwReport
- End With
- 'ETC'
- End Sub
Oleg |