# ListView 小问题一问各位高手

Posted by jeff on August 02, 1999 at 14:52:33:

我的小程式如下
ListView 小问题一问各位高手
Private Sub Command1_Click()

ListView1.View = lvwReport
ListView1.ColumnHeaders.Add , , "档案名称", 1800
ListView1.ListItems.Add , , "Earth"
ListView1.ListItems.Add , , "Moon"
ListView1.ListItems.Add , , "Snow"
End Sub

Private Sub ListView1_ColumnClick(ByVal ColumnHeader As ComctlLib.ColumnHeader)
ListView1.Visible = False
End Sub

当我在 ColumnHeader中 Click 一下ListView1.Visible = False却失效

我程式需求， 当Click ColumnHeader(标头) 一下，ListView1立即消失
不知如何做?????????

开发环境
vb6.0 SP3 + Access 97 + win95

Follow Ups:

- Re: ListView 小问题一问各位高手 小琳 20:57:09 8/02/99 (0)