Defining Controls - MACROMEDIA COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO Use Manual

For windows 95/98/nt4/2000
Table of Contents

Advertisement

Defining controls

This section contains only two kinds of tags:
CONTAINER
the exception that only
A Panel control is a good example of a control that can be a
CONTROL
Look at the following example:
<TAG>
You can name the above template MYTAG.VTM and test it by attempting to edit an
empty MYTAG tag. The tag editor looks like this:
The example displays a single Panel
Only a few controls can be containers:
You might have noticed that the control represented by a
defined by the
determine the size.
The
positioned. The
laid down. The corner specifies the corner of the anchor control to be used for
positioning. The possible choices are
then specify the pixel offset from the anchor control.
tags represent graphical controls. The tags are identical in definition, with
CONTAINER
, such as Labels or TextBoxes.
<EDITORLAYOUT HEIGHT=50 WIDTH=200>
<CONTAINER
<CONTROL NAME="lblCode" TYPE="label" CAPTION="Code" DOWN=20
RIGHT=20 WIDTH=70/>
<CONTROL NAME="txtCode" TYPE="TextBox" ANCHOR="lblCode"
<CORNER="NE" WIDTH="30"/>
</CONTAINER>
</EDITORLAYOUT>
</TAG>
TabDialog — A tab dialog control capable of containing TabPage container
controls.
TabPage — Only used inside a TabDialog container control.
Panel — A general purpose panel container control which can contain any
regular or container controls.
attribute. We can also see that
TYPE
and
attributes determine the point relative to which the control is
ANCHOR
CORNER
can be specified as the name of any control that was already
ANCHOR
CONTROL
tags have the capability to contain
NAME="Panel1" TYPE="Panel" WIDTH=150 HEIGHT=50>
containing Label and TextBox controls.
CONTAINER
,
,
, and
NE
NW
SE
and
tags.
CONTAINER
CONTROL
containing a
CONTAINER
or a
CONTROL
CONTAINER
and
attributes
WIDTH
HEIGHT
. The
and
SW
DOWN
RIGHT
149
and
CONTROL
tags.
tag is
attributes

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion studio 4.5

Table of Contents