beautypg.com

Adding a database tree control – Adobe Extending Dreamweaver CS4 User Manual

Page 92

background image

86

EXTENDING DREAMWEAVER CS4

User interfaces for extensions

The following figure shows an advanced Recordset dialog box that uses a database tree control and a variable grid
control:

Adding a database tree control

The database tree control has the following attributes:

Any option tags that are placed inside the

select

tag are ignored.

To add a database tree control to a dialog box, you can use the following sample code with appropriate substitutions
for quoted variables:

Attribute name

Description

name

Name of the database tree control

control.style

Width and height, in pixels

type

Type of control

connection

Name of the database connection that is defined in the Connection Manager; if empty,
the control is empty.

noexpandbuttons

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.

showheaders

When this attribute is specified, the tree control displays a header at the top that lists
the name of each column.

This manual is related to the following products: