User Guide
158
Panel container
The following table describes the Panel container.
Panel example
<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" />
<CONTAINER TYPE="Panel" …/>
Panel is the most common container control. Panel can contain any control or container
except TabPage, which is restricted to TabDialog.
CAPTION Caption displayed in the upper left corner of the panel boundary.