Adding drawing controls to a form

You can add the following drawing controls to a form to enhance its appearance: Line, Oval, Rectangle, and RoundRectangle.

StepsTo add a drawing control to a form:

  1. Click the drawing control in the Controls drop-down toolbar, or select one of the following from the menu bar: Insert>Line, Insert>Oval, Insert>Rectangle, or Insert>RoundRectangle.

  2. Click where you want the control to display.

  3. Resize or move the drawing control as needed.

  4. Change the drawing control’s properties as needed in the Properties view.

    For example, you might want to specify a fill color for a rectangle or thickness for a line. To do so, you work on the General page in the Property view for the rectangle or line control.

Using drawing controls for grouping

Drawing controls are useful for grouping controls in a form or providing design highlights. For example, to group some controls you can place a colored rectangle behind them by selecting Send To Back from the rectangle’s pop-up menu.

Here are some controls grouped with a round rectangle and a text label:

The sample shows a rectangle with rounded corners and the label Customer Information. Grouped within the rectangle are labeled fields with values for Customer I D, Company Name, Address, City, State, and Zip.

StepsTo group controls with a round rectangle and text in the Form painter:

  1. Select Insert>RoundRectangle from the menu bar and add a round rectangle to the Layout view.

  2. Size the rectangle and place it over the controls you want to group.

  3. Select Send To Back from the rectangle’s pop-up menu to place the rectangle behind the group of controls.

  4. Click the Text button in the Controls drop-down list, add a text control to the Layout view, and place it on the round rectangle.

  5. Select a background color for the text control from the Background Color drop-down toolbar and select the color, in this case gray to match the rectangle.

  6. Position all controls as needed.