Previous Topic

Next Topic

Book Contents

Nesting controls

The InForm Architect application enables you to create compound controls that are composed of nested groups of different types of controls. For example, the control illustrated in the following figure contains two subcontrols that are nested within the overall radio group:

The component structure of this radio control is illustrated in the following figure:

In general, you nest control definitions whenever you define a control structure that has more than one component; for example, when you define a set of radio buttons or check boxes, each radio button or check box is defined as a separate control nested within the radio group or check box group.

Within a compound control structure, you need to create another level of nesting when you want the radio button or check box and the control that goes with it to have different captions. For example, in the following control, the Physician decision radio button label and the text box for entering the data each have a caption and are defined as separate controls within a group control called PHDECGROUP. The PHDECGROUP is in turn nested within a radio group.

Note: When defining compound controls, note that the InForm application supports a maximum of five levels of nesting. Although five levels are supported, as a design practice, you should attempt to minimize the number of nested levels to help performance.

Send Feedback