Visual Basic: Windows Controls
A collection whose elements represent the bands on a CoolBar control. The Bands collection has a Count property which specifies the number of Band objects in the collection.
The Bands collection syntax has these parts:
|object||An object expression that evaluates to a CoolBar control.|
|index||An integer with a range from 1 to |
The Bands collection enumerates the bands on a CoolBar control. For example, you might use it to change the BackColor property of all the bands on a control.
Note The Bands collection is not a member of the Visual Basic Collection class; you cannot create instances of it.