Partager via


How to: Add Shapes and Lines to Forms

You can add shapes and lines to forms to customize them. For example, you may want to separate groups of controls with a dividing line, or enclose related controls within a box to set them apart.

To add a line to a form

  1. In the Form Controls toolbar, choose the Line button.

  2. Drag in the form to create a line.

You can size and move the line like other controls, or change the slant of the line with the LineSlant Property in the Properties window.

To add a shape to a form

  1. In the Form Controls toolbar, choose the Shape button.

  2. Drag in the form to create a shape.

You can change the type of shape drawn with the Curvature property in the Properties window.

See Also

Tasks

How to: Set the Design Area for a Form

Reference

Form Designer

Properties Window (Visual FoxPro)

ColorSource Property

Other Resources

Customizing Forms

Working with Forms

Creating Forms