Concept : Understanding Container Controls

Page Status: Beta

Back to Concepts and HOW TOs

Contents

[edit] Description 

There are six container controls available to help you layout controls on your forms.

  • Grid—An array of row and columns that facilitates alignment in both directions. This is the most common layout method.
  • BulletinBoard—Essentially absolute positioning. Allows for minute adjustments but does not assist in alignment.
  • HorizontalBox—Aligns items in a single horizontal row. Perfect for a menu bar or a toolbar full of icons.
  • HorizontalWrap—Aligns items in one-or-more horizontal rows. When rendering space is limited, items are wrapped into additional rows.
  • VerticalBox—Aligns items in a single vertical column. A contents list is a common use for a vertical box.
  • VerticalWrap—Aligns items in one-or-more vertical columns. When rendering space is limited, items are wrapped into additional columns. 

For example, if you want to layout controls horizontally in your form, you can add a HorizontalBox control to your form, then add your controls inside the HorizontalBox control. Editing a Form and Understanding Forms have detailed information about working with container controls.

[edit] See Also

Editing a Form
Understanding Forms
Adding a Form to a Class
Understanding Controls
Binding a Control to an Object

[edit] Tags

    Copyright © 2005 - 2007 Bungee Labs. All rights reserved.