User Guide
Container and Control examples 209
Container and 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>
See ../VTML_Reference/container.html#tabdialogtabdialog/a in the VTML
Reference for syntax and usage information.
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>
See ../VTML_Reference/container.html#tabpagetabpage/a in the VTML Reference
for syntax and usage information.
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" />