Description
Layout tag; creates a container for items laid out horizontally. All layout objects defined
within <hbox> tags are arranged horizontally with respect to one another. By default, each
layout object is evenly spaced, but this setting can be altered with the
Example
The following example is excerpted from a Behaviors definition file,
Web_Goto_Webpage.xml, and defines a dialog box with a textbox control and a drop-down
menu control:
<dialog id="GotoWebPage-dialog" title="Go to URL" buttons="accept, cancel">
<vbox>
<hbox>
<label value="URL:" control="URL"/>
<textbox literal="true" required="true" width="40" id="URL"/>
</hbox>
<hbox>
<label value="Open in:" control="targetWindow"/>
<menulist literal="true" id="targetWindow">
<menupopup>
<menuitem label='"_self"'/>
<menuitem label='"_parent"'/>
<menuitem label='"_blank"'/>
<menuitem label='"_top"'/>
</menupopup>
</menulist>
</hbox>
</vbox>
</dialog>
The following graphic shows the Go to URL dialog box. Red and blue outlines of the VBox
and HBox containers have been added to show how these container tags are used to define the
layout:
612
XML to UI
tag.
<space>
Need help?
Do you have a question about the FLASH 8-USING FLASH and is the answer not in the manual?