MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual page 118

Extending dreamweaver
Table of Contents

Advertisement

Attribute name
noexpandbuttons
showheaders
Any option tags that are placed inside the
To add a database tree control to a dialog box, you can use the following sample code with
appropriate substitutions for quoted variables:
<select name="DBTree" style="width:400px;height:110px" ¬
type="mmdatabasetree" connection="connectionName" noexpandbuttons
showHeaders></select>
You can change the
connection
You can use the
DBTreeControl
For more examples, see the DBTreeControlClass.js file in the Configuration/Shared/
Common/Scripts folder.
Adding a variable grid control
The variable grid control has the following attributes:
Attribute name
name
style
type
columns
columnWidth
The following example adds a simple variable grid control to a dialog box:
<select name="ParamList" style="width:515px;" ¬
type="mmparameterlist columns"="Name,SQL Data ¬
Type,Direction,Default Value,Run-time Value" size=6></select>
118
User Interfaces for Extensions
Description
When this attribute is specified, the tree control does not draw the
expand Plus (+) or collapse Minus (-) indicators or the associated
arrows on the Macintosh. This attribute is useful for drawing
multicolumn list controls.
When this attribute is specified, the tree control displays a header at
the top that lists the name of each column.
select
attribute to retrieve selected data and display it in the tree.
attribute as a JavaScript wrapper object for the new tag.
Description
Name of the variable grid control
Width of the control, in pixels
Type of control
Each column must have a name, separated by a comma
Width of each column, each separated by a comma. The columns are
of equal width if you do not specify widths.
tag are ignored.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver 8

Table of Contents