TOOLBAR Element | Toolbar Object
Adds a Toolbar element behavior to the document.
Syntax
HTML <namespace:TOOLBAR ... >
Possible Values
namespace Prefix that associates a custom tag with an XML namespace. This prefix is set using the XMLNS attribute of the html tag.
Members Table
The following table lists the members exposed by the Toolbar object.
Attribute Property Description DEFAULTSTYLE defaultStyle Sets or retrieves a value that indicates the default style for the element. HOVERSTYLE hoverStyle Sets or retrieves a value that indicates the style of the element when the user hovers the keyboard focus or mouse pointer over it. MOVEMENT movement Sets or retrieves a value that indicates whether the Toolbar object can be docked and/or moved. NUMITEMS numItems Returns the number of top-level items of the Toolbar object. ORIENTATION Sets or retrieves a value that indicates the alignment of the object within the document. SELECTEDSTYLE selectedStyle Sets or retrieves a value that indicates the style for the selected element. TURNVERTICALCONTENT turnVerticalContent Retrieves a value that indicates whether the content of the Toolbar object can be oriented vertically.
Element Object Description TOOLBARBUTTON ToolbarButton Adds a ToolbarButton element to a Toolbar. TOOLBARCHECKBUTTON ToolbarCheckButton Adds a ToolbarCheckButton element to a Toolbar. TOOLBARCHECKGROUP ToolbarCheckGroup Adds a ToolbarCheckGroup element to a Toolbar. TOOLBARDROPDOWNLIST ToolbarDropDownList Adds a ToolbarDropDownList element to a Toolbar. TOOLBARGRIPPER toolbarGripper Adds a toolbarGripper element to a Toolbar. TOOLBARLABEL ToolbarLabel Adds a ToolbarLabel element to a Toolbar. TOOLBARSEPARATOR ToolbarSeparator Adds a ToolbarSeparator element to a Toolbar. TOOLBARTEXTBOX ToolbarTextBox Adds a ToolbarTextBox element to a Toolbar.
Event Description onbuttonclick Fires when a ToolbarCheckButton or ToolbarButton is clicked. oncheckchange Fires when a ToolbarCheckButton element changes state. onwcready Fires to the containing page when the ondocumentready event fires in the behavior.
Method Description createButtonAt Creates a ToolbarButton on the Toolbar at the specified index. createCheckButtonAt Creates a ToolbarCheckButton on the Toolbar at the specified index. createCheckGroupAt Creates a ToolbarCheckGroup on the Toolbar at the specified index. createDropDownListAt Creates a ToolbarDropDownList on the Toolbar at the specified index. createGripperAt Creates a toolbarGripper object on the Toolbar at the specified index. createLabelAt Creates a ToolbarLabel on the Toolbar at the specified index. createSeparatorAt Creates a ToolbarSeparator on the Toolbar at the specified index. createTextBoxAt Creates a ToolbarTextBox on the Toolbar at the specified index. getItem Retrieves an item at a specified index on the Toolbar object.
See Also