createLabelAt Method

You can use the createLabelAt method to create a ToolBarLabel at a specified index position of the toolbar.

Instructions

Specify the index of the position on the toolbar to add a label or delete any item. You can specify some properties of the new label using the other controls below. Not all properties available are necessarily listed in the sample. For a complete list of properties, see documentation.

Properties
 
Index:

Text:

DEFAULTSTYLE:

IMAGEURL:

  





To view the source code, right-click this page and choose View Source from the shortcut menu that appears.

© 2007 Microsoft Corporation. All rights reserved. Terms of use.