Containers
I have been referring to containers, rather than forms. Why is this? Well, we have Forms and Form Segments as containers, and we also now have Panels. All can be resized, and the fields within will adjust according to their anchor points.
This is quite a significant change, and one that allows for a great deal more flexibility. There are several very good reasons for this:
 
  • As discussed, fields can be anchored to the edges of any of these containers
  • These containers are all resizable, both in the Designer, and at run time if they are anchored to their particular container
  • All containers may contain containers (at present we cannot have Segments inside Segments, however)
  • Containers may be docked to an edge of, or to the entire container (which can also cause resizing if fields are anchored).
  • The visibility of entire containers (except forms) can be set to a field or fields.
We could, for example, create a form segment with anchored fields. If I add that segment to a form, I can then resize it on that form at run time (and at design time). Fields within the segment will move appropriately.
If I wish, I may also anchor that form segment to opposing edges of the form (or container). This would make the form segment resize both at design time and at run time if the form does, and the fields then move appropriately. I could have as many form segments on the form as I like, and make them all behave as I like. This gives you a great deal of flexibility.