tsc_GroupBoxStartControl

Use this control to signal the start of a group box.  Group boxes must be ended with a tsc_GroupBoxEndControl.

Group boxes must be in start-end pairs and NOT nested - an assert will fire if these rules are not followed.

All controls inside the start and end group boxes will be placed inside and indented from the left accordingly.  There is no other behavioral effect as this is a layout feature and does not change tab orders, etc.

The group box constructor has an optional tsc_LayoutFlags parameter which affects the layout of the controls within the group box.  If the tsc_Layout_HideGroupBox flag is set, then there is no display of the group box or its title, but the layout flags will still apply to the enclosed controls.

If no custom position is supplied for the enclosed fields and controls then these are laid out within the box according to the normal Survey Core automatic layout system.  If custom positions are specified then they should be absolute grid positions within the whole form (that is, they are not relative to the group box).

Custom layouts will have the group box attempt to calculate its size from the cell layout locations of the controls between the start and end (in the Control list ordering).  It will then surround this area with a group box. 

To fine-tune the placement of the group box, either use tsc_Control::SetCustomMargins to move the top left corner, or use a higher resolution grid.

While groupbox controls inherit from tsc_Control many of the functions on the base class have no effect.