VLButtonBar Reference

Method Add

See Also See Also Applies To Applies To

Adds a new group to Groups collection of a VLButtonbar object.

 

Syntax

object.Add (ByVal sCaption String, Optional ByVal sTooltip As String, Optional sKey As String)

 

The Add method syntax has these parts:

Part Description
object An expression evaluating to an object of CGroups type.
sCaption A caption text which appears for this group in VLButtonBar.
sTooltip Optional. A string expression specifing the tooltip corresponding to the new group.
sKey Optional. A string expression which uniquely identifies this group in the collection.

On successful addition of the group, method returns the newly added CGroup object.