WebToolbarContainer.Container

From Xojo Documentation

Property (As ContainerControl )
aWebToolbarContainer.Container = newContainerControlValue
or
ContainerControlValue = aWebToolbarContainer.Container

New in 2011r2

Supported for all project types and targets.

The ContainerControl that is assigned to the WebToolbarContainer. You can specify the container in the IDE at design time or in code.

Example

This code changes the ContainerControl used by an existing container on the toolbar:

Var item As WebToolbarContainer
item = WebToolbarContainer(Toolbar1.ItemWithName("SearchControl"))

If item <> Nil Then
item.Container = New ContainerControl1
End If