Private Sub CommandButton1_Click() Dim ctl As Control For Each ctl In Me.Controls MsgBox ctl.Name Next ctl End Sub |
结果
列表框和集合框也属于集合的范畴。
树状视图也是用集合的范畴。
Private Sub CommandButton1_Click() Dim ctl As Control For Each ctl In Me.Controls MsgBox ctl.Name Next ctl End Sub |
结果
列表框和集合框也属于集合的范畴。
树状视图也是用集合的范畴。