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"
Содержание ColdFusion Server 5
Страница 18: ...xviii About This Book...
Страница 26: ...8 Chapter 1 Setting Up the Product...
Страница 42: ...24 Chapter 2 Configuring Browsers and Servers...
Страница 60: ...42 Chapter 3 Exploring the Workspace...
Страница 100: ...82 Chapter 6 Editing Pages...
Страница 126: ...108 Chapter 7 Using Web Development Languages...
Страница 212: ...194 Chapter 13 Customizing the Development Environment...
Страница 320: ...302 Glossary...