Condividi tramite


Forms Tab, Options Dialog Box

Contains options for the Form Designer.

When you choose Set As Default, which appears on every tab in the dialog box, Visual FoxPro saves the option settings in the registry (system Windows registration database).

Note

If an instance of the Form Designer is already open when you change settings in the Forms tab of the Options dialog box, the Form Designer does not reflect the changes until you close that instance and reopen it.

Grid

  • Grid lines
    Specifies that the Form Designer displays grid lines to help you align controls.

    Note

    These are defaults for new forms only. Settings for existing forms are saved in the resource file.

  • Snap to grid
    Specifies that when you draw new controls, their edges align with the nearest grid lines.

    Note

    These are defaults for new forms only. Settings for existing forms are saved in the resource file.

  • Horizontal spacing (pixels)
    Specifies the width of the space between horizontal grid lines. The width is based on the Scale units option on the Forms tab.

    Note

    These are defaults for new forms only. Settings for existing forms are saved in the resource file.

  • Vertical spacing (pixels)
    Specifies the height of the space between vertical grid lines. The height is based on the Scale Units option on the Forms tab.

    Note

    These are defaults for new forms only. Settings for existing forms are saved in the resource file.

  • Show position
    Specifies whether object position and dimensions are displayed on the status bar.

  • Tab ordering
    Specifies how to set tab order in a form. To order controls by clicking on them, choose Interactive. To order controls using the Tab Order Dialog Box, choose By List.

    Note

    Specifies how the Set Tab Order button on the Form Designer toolbar sets the order.

  • Scale units
    Specifies Pixels or Foxels, which sets the default scale mode for the Form Designer and Class Designer.

  • Maximum design area
    Specifies the maximum size of the form at design time. The default setting is None, which prevents the form from appearing cropped inside the Form Designer. You cannot size a form that is bigger than the specified resolution. It is a good idea to specify the smallest resolution your users will want so that all users can see your forms.

Template classes

Specifies a class library and class to base your new forms and form sets on. The default is that Visual FoxPro uses its base class.

  • Form set
    Displays the Form Set Template dialog box, where you select a form set template.

  • Form
    Displays the Form Template dialog box, where you select a form template.

  • Builder lock
    Specifies that builders are displayed automatically in the Form Designer when you create a control that has a builder registered to it.

  • Prompt to save changes before running form
    Specifies that when you run a form from the Form Designer, you are prompted to save changes to the form made since the last time you saved it. If you clear this option, the Form Designer saves changes automatically before running the form.

See Also

Reference

Form Designer

Options Dialog Box (Visual FoxPro)

Tab Order Dialog Box

Form Set Template Dialog Box

Form Template Dialog Box