Copy and paste a control
You can use the Copy and Paste commands to create a new control that matches the formatting of an existing control. However, you must change the binding of the new control so that it does not store its data in the same field or group as the original control.
To quickly copy formatting, such as font style, size, and color, from one control to another, use the Format Painter tool on the Standard toolbar.
- In design mode, select the control that you want to copy.To select more than one control at a time, press and hold down the CTRL key, and then click each control. To select a set of controls and their labels, drag the insertion point over the set of controls.
- On the Edit menu, click Copy.
- Place the insertion point where you want to insert the new control, and then on the Edit menu, click Paste.
- Right-click the new control,
click Change Binding on the shortcut menu, and then in the Control Binding dialog box, do one of the following:
- To create a new field or group to bind the control to, right-click the group to which you want to add the field or group, click Add on the shortcut menu, and then enter the appropriate properties in the Add Field or Group dialog box.
- To bind the control to an existing field or group, click the field or group that you want to bind the control to.
Notes
- When you copy and paste a control with conditional formatting, the original conditions will be copied to the new control.
- Because data validation is based on fields and groups, not controls, changing the field or group to which a control is bound also changes any existing data validation for that control.
- The information in this topic may not apply if you are working with a form designed using Microsoft Office InfoPath 2003 without the service pack installed. Learn more