WebToolbar.AppendItem

From Xojo Documentation


Method

WebToolbar.AppendItem(item As WebToolbarItem)

Supported for all project types and targets.

Appends item to the toolbar at run-time.

Example

This code adds a button to a toolbar called TestToolbar:

Var button As New WebToolbarButton
button.Caption = "Button " + Str(TestToolbar.ItemCount + 1)
button.Enabled = True

TestToolbar.AppendItem(button)

See Also

WebToolbar.InsertItem, WebToolbar.RemoveItem