List1.List(i)="String New Value" ---------------- Q1,2: Private Sub Text1_Change() For i = 0 To List1.ListCount - 1 If InStr(List1.List(i), Text1.Text) <> 0 Then '此处用动态菜单数组(load Menu(x),menu(x).Visible = True;menu(x).caption=list1.list(i);项目过多时,自动会有箭头出现) End If Next i ...... End Sub ---------------------
----------------
Q1,2:
Private Sub Text1_Change()
For i = 0 To List1.ListCount - 1
If InStr(List1.List(i), Text1.Text) <> 0 Then
'此处用动态菜单数组(load Menu(x),menu(x).Visible = True;menu(x).caption=list1.list(i);项目过多时,自动会有箭头出现)
End If
Next i
......
End Sub
---------------------