VLButtonBar Reference

Read/Write Property Key

See Also See Also Applies To Applies To

Returns a key that uniquely identifies an object stored in a collection.

 

Syntax

object.Key [= string]

 

The Key property syntax has these parts:

Part Description
Object An object expression that evaluates to an object from the Applies to list.
string A string that uniquely identifies an object in a collection.

 

Remarks

Key property is specified while creating the Group or Button using Add method of the corresponding collection objects.

Key for the object can be changed. If the new value specified conflicts with the key assigned to another object in the same collection then an error will be raised and the object's key will remain unchanged.