234
Toolbars
label="label string"
Optional. This attribute specifies a label that displays next to the item. Dreamweaver does not
automatically add a colon to labels. Labels for nonbutton items are always positioned on the
left of the item. Dreamweaver places labels for buttons, check buttons, radio buttons, menu
buttons, and combo buttons inside the button and to the right of the icon.
Example
label="Title: "
width="number"
Optional. This attribute applies only to text box, pop-up menu, and combo box items by
specifying the width of the item in pixels. If you do not specify the
width
attribute,
Dreamweaver uses a reasonable default width.
Example
width="150"
menuID="menu_id"
This attribute is required for menu buttons and combo buttons, unless you specify the
getMenuID()
function in an associated command file. Dreamweaver ignores the
menuID
attribute for other types of items. This attribute specifies the ID of the menu bar that contains
the context menu to pop up when the user clicks the button, menu button, or combo button.
The ID comes from the ID attribute of a
menubar
tag in the menus.xml file.
Example
menuID="DWCodeNavPopup"
colorRect="left top right bottom"
This attribute is optional for color pickers that have an image attribute. The
colorRect
attribute is ignored for other types of items and for color pickers that do not specify an image.
If you specify the
colorRect
attribute, Dreamweaver displays the color that is currently
selected in the color picker in the rectangle, relative to the left or top of the icon. If you do not
specify the
colorRect
attribute, Dreamweaver does not display the current color on the
image.
Example
colorRect=”0 12 16 16”
Содержание DREAMWEAVER 8-EXTENDING DREAMWEAVER
Страница 1: ...Extending Dreamweaver...
Страница 8: ...8 Contents...
Страница 14: ...14 Introduction...
Страница 16: ......
Страница 54: ...54 Customizing Dreamweaver...
Страница 96: ...96 Customizing Code View...
Страница 98: ......
Страница 110: ...110 Extending Dreamweaver...
Страница 138: ......
Страница 166: ...166 Insert Bar Objects...
Страница 180: ...180 Commands...
Страница 248: ...248 Toolbars...
Страница 260: ...260 Reports...
Страница 278: ...278 Tag Libraries and Editors...
Страница 288: ...288 Property Inspectors...
Страница 378: ...378 Server Behaviors...
Страница 398: ...398 Data Sources...
Страница 432: ...432 Server Models...
Страница 456: ...456 Data Translators...
Страница 482: ......
Страница 492: ...492 The Shared Folder...