Container/Control Examples
181
Container/Control Examples
This section contains example code for VTML containers and controls.
TabDialog
<container name="MainTabDialog" type="TabDialog" width=maximum
height=maximum>
<container name="TabPage1" type="TabPage" caption="TEXTAREA Tag">
... embedded controls
</container>
<container name="TabPage2" type="TabPage" caption="Content">
... embedded controls
</container>
</container>
TabPage
<container name="MainTabDialog" type="TabDialog" width=maximum
height=maximum>
<container name="TabPage1" type="TabPage" caption="TEXTAREA Tag">
... embedded controls
</container>
<container name="TabPage2" type="TabPage" caption="Content">
... embedded controls
</container>
</container>
Panel
<editorlayout height=225>
<container name="MainTabDialog" type="TabDialog" width=maximum
height=maximum>
<container name="TabPage1" type="TabPage" caption="mytag Tag">
<container 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>
</container>
<container name="Panel2" type="Panel" caption=" Panel 2 "
anchor="Panel1" corner="SW" down=5 width="maximum"
Summary of Contents for ColdFusion Server 5
Page 18: ...xviii About This Book...
Page 26: ...8 Chapter 1 Setting Up the Product...
Page 42: ...24 Chapter 2 Configuring Browsers and Servers...
Page 60: ...42 Chapter 3 Exploring the Workspace...
Page 100: ...82 Chapter 6 Editing Pages...
Page 126: ...108 Chapter 7 Using Web Development Languages...
Page 212: ...194 Chapter 13 Customizing the Development Environment...
Page 320: ...302 Glossary...