Creating a tree control
The
MM:TREECONTROL
described in the following list:
•
MM:TREECOLUMN
•
MM:TREENODE
contain only other
MM:TREECONTROL
Attribute name
name
size
theControl
multiple
style
noheaders
MM:TREECOLUMN
Attribute name
name
value
width
align
state
For readability,
TREECOLUMN
shown in the following example:
<MM:TREECONTROL name="tree1">
<MM:TREECOLUMN name="Column1" width="100" state="visible">
<MM:TREECOLUMN name="Column2" width="80" state="visible">
...
</MM:TREECONTROL>
tag creates a tree control and can use one or more tags to add structure, as
is an empty, optional tag that defines a column in the tree control.
is an optional tag that defines a node in the tree. It is a nonempty tag that can
tags.
MM:TREENODE
tags have the following attributes:
Description
Name of the tree control
Optional. Number of rows that show in the control; default is 5 rows
Optional. If the number of nodes in the
value of the size attribute, scrollbars appear
Optional. Allows multiple selections; default is single-selection
Optional. Style definition for height and width of tree control; if specified,
takes precedence over the
Optional. Specifies that the column headers should not appear
tags have the following attributes:
Description
Name of the column
String to appear in column header
Width of the column in pixels (percentage not supported); default is 100
Optional. Specifies whether the text in the column should be aligned left,
right, or center; default is left
Specifies whether the column is visible or hidden
tags should follow immediately after the
theControl
attribute
size
MM:TreeControl
Using custom UI controls in extensions
attribute exceeds the
tag, as
61
Need help?
Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?
Questions and answers