Specifications
Chapter 886
Example
<MENUBUTTON ID="DW_CodeNav"
image="Toolbars/images/MM/codenav.gif"
disabledImage="Toolbars/images/MM/codenav_dis.gif"
tooltip="Code Navigation"
enabled="dw.getFocus() == ’textView’ || dw.getFocus() == ’html’"
menuID="DWCodeNavPopup"
update="onViewChange"/>
<dropdown>
Description
A noneditable pop-up menu that executes a specific command when you choose an entry and it
updates itself, based on an attached JavaScript function. It looks and acts the same as the Format
control in the Text Property inspector, except it’s a standard size instead of the small Property
inspector size.
Attributes
id, tooltip, file, enabled, checked, value, command, {showif}, {label},
{width}, {domRequired}, {update}, {arguments}
For a description of each attribute, see “Item Tag Attributes” on page 88.
Contents
None.
Container
Either the toolbar tag or the toolbarset tag.
Example
<dropdown id="Font_Example"
width="115"
tooltip="Font"
domRequired="false"
file="Toolbars/mine/fontExample.htm"
update="onSelChange"/>
<combobox>
Description
An editable pop-up menu that executes its command when you choose an entry or when the user
makes an edit in the text box and switches focus. It looks and acts the same as the Font control on
the Text Property inspector, except it’s a standard size instead of the small Property inspector size.
Attributes
id, file, tooltip, enabled, value, command, {showif}, {label}, {width},
{domRequired}, {update}, {arguments}
For a description of each attribute, see “Item Tag Attributes” on page 88.
Contents
None.
Container
Either the toolbar tag or the toolbarset tag.