求代码:如何使vb listview第一列固定不动,拉动横条滚动,第一列始终出现在窗格, 就像Excel中固定窗格一样。
求代码:vb listview第一列固定不动,拉动横条滚动,第一列始终出现在窗格, 就像Excel中固定窗格一样。
Private Sub Form_Load() List1.Clear Text1(0).Text = "序号" Text1(1).Text = "标题" Text1(2).Text = "年" Text1(3).Text = "月" Dim X(1 To 10) As String For I = 1 To 10 X(I) = I & Space(15) Next I For J = 1 To 10 X(J) = X(J) & J + 68 & Space(15) Next J For K = 1 To 10 X(K) = X(K) & K + 2008 & Space(10) Next K For L = 1 To 10 X(L) = X(L) & L + 2 Next L For I = 1 To 10 List1.AddItem X(I) Next I End Sub
[此贴子已经被作者于2017-8-6 12:32编辑过]