This allows For.. Each.. Next integration in VB.
Calling Syntax
This example assumes there is a valid ToolbarButtons collection as retrieved from an ObjectView (for example, VBA: objectView.Toolbars.Item(1).Buttons). This property is not applicable to Cicode.
[VBA]
Sub Example(Buttons As Object)
Dim button As Object
Dim count Object
`Using Property
For Each button In Buttons
count = count + 1
Next button
End Sub