![MACROMEDIA COLDFUSION STUDIO 4.5-USING COLDFUSION... Use Manual Download Page 143](http://html1.mh-extra.com/html/macromedia/coldfusion-studio-4-5-using-coldfusion/coldfusion-studio-4-5-using-coldfusion_use-manual_3288175143.webp)
151
Populating dialog boxes with tag data
Once the layout of controls is completed one needs to define the way in which the
editor controls are populated when you are editing an existing tag. This is done in the
ATTRIBUTES
block of the main tag editor template.
The
ATTRIBUTES
block can contain
ATTRIB
and
EVENT
tags. The
ATTRIB
tag defines the
way tag attribute values get filled into the dialog controls.
<ATTRIBUTES>
<ATTRIB NAME="VALUE" CONTROL="txtName"/>
<ATTRIB NAME="TITLE" CONTROL="txtTitle"/>
<ATTRIB NAME="TITLE" CONTROL="txtTitle2"/>
<ATTRIB NAME="ALT" CONTROL="txtAltText"/>
<ATTRIB NAME="ALIGN" CONTROL="dropAlign"/>
</ATTRIBUTES>
The name attribute of the
ATTRIB
tag specifies the name of the attribute, while
CONTROL
specifies which control the value of that attribute should be assigned to. Notice that
WIDTH
Width of the control.
Can be specified in three ways:
•
In pixels (for example., WIDTH=200).
•
As the name of another control (for example.,
WIDTH="SomeControl"). In this case the width of the
specified control is used. The control must be already
positioned.
•
Set to maximum (WIDTH="MAXIMUM"). Stretches control to
the right boundary of its container.
HEIGHT
Height of the control.
Can be specified in three ways:
•
In pixels (for example., HEIGHT =200).
•
As the name of another control (for example., HEIGHT
="SomeControl"). In this case the height of the specified
control is used. The control must be already positioned.
•
Set to maximum (HEIGHT ="MAXIMUM"). Stretches control to
the bottom boundary of its container.
LFWIDTH
Width of the control used when user’s system is set to use large
fonts.
LFHEIGHT
Height of the control used when user’s system is set to use large
fonts.
MAXWIDTHPADDING
Used with WIDTH=MAXIMUM. Specifies the padding in pixels from
the container’s right boundary.
MAXHEIGHTPADDING
Used with HEIGHT=MAXIMUM. Specifies the padding in pixels from
the container’s bottom boundary.
CONTAINER/CONTROL attributes (Continued)
Summary of Contents for COLDFUSION STUDIO 4.5-USING COLDFUSION...
Page 1: ...Allaire Corporation Using ColdFusion Studio ColdFusion Studio 4 5 for Windows 95 98 NT4 2000...
Page 16: ...xvi Contacting Allaire...
Page 90: ...82...
Page 130: ...122...
Page 133: ...141 Two VTML tags CAT and E let you customize the content of these dialog boxes...
Page 182: ...190...