flow
Arrange controls horizontally across the page. Wrap the controls vertically if there is not enough space to show all controls on a single row.
Syntax
<flow container attributes>
<component component attributes> </component>
<component component attributes> </component>
<component component attributes> </component>
. . .
</flow>
Container Attributes
In addition to General Attributes, the following attributes may be specified:
Attribute |
Values |
Restrictions |
Description |
anchor |
center east west |
|
Defines the alignment of the controls |
Default values shown in bold.
Child Component Attributes
See General Attributes. There are no additional attributes for child components.
Example
The following example places 6 buttons in a horizontal row, aligned to the left edge of the flow container.
<flow height="200" left="16" top="16" width="1000">
<button buttontype="push" height="126" name="1" width="126"/>
<button buttontype="push" height="126" name="2" width="126"/>
<button buttontype="push" height="126" name="3" width="126"/>
<button buttontype="push" height="126" name="4" width="126"/>
<button buttontype="push" height="126" name="5" width="126"/>
<button buttontype="push" height="126" name="6" width="126"/>
</flow>