WebListBox Object
Office 2007
| Publisher Developer Reference |
Example
Use the AddWebControl method to create a new Web list box. Use the WebListBox property to access a Web list box control shape. Use the AddItem method of the WebListBoxItems object to add items to a Web list box. This example creates a new Web list box and adds several items to it. Note that when initially created, a Web list box control contains three default items. This example includes a routine that deletes the default list box items before adding new items.
Note |
|---|
| When you create a Web list box, its initial width is 300 points. However, Microsoft Office Publisher automatically changes this width based on the width of the items in the list. |
| Visual Basic for Applications |
|---|
|
Note