VLButtonBar Reference

Read/Write Property SetNewIndex

See Also See Also Applies To Applies To

Reindexes the group to the new index.

 

Syntax

object.SetNewIndex (ByVal aGroup As CGroup, ByVal Index As Long ) AS Boolean

 

The SetNewIndex property syntax has these parts:

Part Description
Object An expression evaluating to an object of type CGroups.
aGroup Required. An expression evaluates to the CGroup that specifies the group to be reindexed or moved to the new index specified by index value.
index Required. An expression that specifies the position of a member of the CGroups collection. A numeric expression, index must be a number from 1 to the value of the collection's Count property.

 

Remarks

This method, along with SetNewIndex method of CButtons, can be used to provide runtime re-ordering / customization of buttons and groups in the control.