Container/Control Examples
Container/Control Examples
This section contains example code for VTML containers and controls.
TabDialog
<container name="MainTabDialog" type="TabDialog" width=maximum
height=maximum>
<container
... embedded controls
</container>
<container
... embedded controls
</container>
</container>
TabPage
<container name="MainTabDialog" type="TabDialog" width=maximum
height=maximum>
<container
... embedded controls
</container>
<container
... embedded controls
</container>
</container>
Panel
<editorlayout height=225>
<container
height=maximum>
<container
<container
</container>
<container
name="TabPage1" type="TabPage" caption="TEXTAREA Tag">
name="TabPage2" type="TabPage" caption="Content">
name="TabPage1" type="TabPage" caption="TEXTAREA Tag">
name="TabPage2" type="TabPage" caption="Content">
name="MainTabDialog" type="TabDialog" width=maximum
name="TabPage1" type="TabPage" caption="mytag Tag">
name="Panel1" type="Panel" down=5 right=10
width="maximum" height=125>
<control name="lblSource" type="Label" caption="Source:"
down=17 right=10 width=50/>
<control name="txtSource" type="TextBox" anchor="lblSource"
corner="NE" width="maximum"/>
<control name="lblAlign" type="Label" caption="Align:"
anchor="lblSource" corner="SW" down=11 width=50/>
<control name="dropAlign">type="DropDown" anchor="lblAlign"
corner="NE" width=100>
<item value="TOP" caption="TOP" />
<item value="MIDDLE" caption="MIDDLE" selected/>
<item value="BOTTOM" caption="BOTTOM" />
</control>
name="Panel2" type="Panel" caption=" Panel 2 "
anchor="Panel1" corner="SW" down=5 width="maximum"
181
Need help?
Do you have a question about the COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO and is the answer not in the manual?