Visual Basic: Windows Controls

Buttons Property

See Also    Example    Applies To

Returns a reference to a Toolbar control's collection of Button objects.

Syntax

object.Buttons

The object placeholder is an object expression that evaluates to a Toolbar control.

Remarks

You can manipulate Button objects using standard collection methods (for example, the Add and Remove methods). Each element in the collection can be accessed by its index, the value of the Index property, or by a unique key, the value of the Key property.