Insert a horizontal region InfoPath 2007
Author: mety Labels:: Insert a horizontal region InfoPath 2007If you want to position two areas side by side on your Microsoft Office InfoPath form template, you can use a horizontal region. When forms that are based on your form template are resized, the horizontal region grows or shrinks to fill the available space. Use a horizontal region when you want to organize a set of related controls in a horizontal formation. When several horizontal regions are positioned side-by-side, the regions will wrap, or flow, to the next line as the size of the screen is resized. When you insert a horizontal region in your form template, you are essentially inserting an empty container. For the region to be useful, you must insert other controls inside it. These controls can include text boxes, list boxes, or sections. The following illustration shows two horizontal regions in design mode. You can also use layout tables to arrange controls in a similar manner. For example, you can position two text boxes side by side in different table cells. However, unlike horizontal regions, the cells in the layout tables do not wrap to the next line if the screen is resized; instead, the controls in the cell are hidden from sight. In the following example, the Name and E-mail Address boxes appear next to each other in separate horizontal regions on the form. However, if the user resizes the window, the horizontal regions automatically move to the next line, as shown in the following illustration. Tip By default, the borders of a horizontal region are invisible on the form. If you want an outline to appear around your region, you can apply a border to it in the Borders and Shading dialog box. Related controlsInfoPath includes other controls that are similar to horizontal regions but that serve different purposes. To decide which of these controls works best on your form template, refer to the following list.
Compatibility considerationsWhen you design a form template, you can choose to design a browser-compatible form template (browser-compatible form template: A form template that is designed in InfoPath by using a specific compatibility mode. A browser-compatible form template can be browser-enabled when it is published to a server running InfoPath Forms Services.). When you design a browser-compatible form template, horizontal region controls are unavailable in the Controls task pane, because they cannot be displayed in a Web browser.Insert a horizontal regionBecause horizontal regions are used exclusively for layout purposes, they are not bound to fields or groups in the data source.
Layout tipsUse the following tips to help you refine the appearance, size, and other aspects of a horizontal region and the controls that it contains.
|