Working with Forms

When you have created a form, you can manipulate it in various ways. You can run or hide it using the interface or programmatically. You can alter your form through its objects, by passing parameters, or setting the design area and templates. Local and remote data can be incorporated into your form, and you can manage multiple instances of your form.

In This Section

  • Running a Form
    Provides instructions on how to run a form, name a form object, and make it possible for a user to close the active form.
  • Setting Properties at Run Time
    Provides instructions on how to set properties to expressions at run time and set multiple properties at the same time.
  • Example of Manipulating Objects
    Contains an example with two forms in a formset. The example illustrates how to set properties and call event code from a number of objects inside a formset.
  • Hiding a Form
    Explains how to hide and release a form. When you hide a form, it is invisible to the user, and the user cannot manipulate it. However, you still have complete programmatic control of the form.
  • Passing Parameters to a Form
    Details the steps required to pass a parameter to a form created in the Form designer and to return a value from a form.
  • Managing Multiple Instances of a Form
    Outlines the important issues to consider when you have multiple instances of a form and provides examples of multiple instances of a form.
  • Customizing Forms
    Provides instructions on how to change text fonts and sizes, add shapes and lines to a form, add graphics to a form, and set the foreground and background colors of a form.
  • Setting the Design Area for a Form
    Explains how to set the maximum design area for the Form designer in the Options dialog box.
  • Creating Forms with Local and Remote Data
    Describes the creation of forms that can be switched easily between using local and remote data.
  • Setting Form Templates
    Contains an explanation of how to specify a form class from a registered class library for your form template and presents the various ways you can specify form set templates.
  • Creating the Interface
    Using Microsoft® Visual FoxPro® forms, classes, controls, menus, and toolbars, you can build interfaces that help users gain access to the full potential of your programs.
  • Creating Forms
    Your application must have forms to make it possible for users to view and enter data. However, you can customize standard forms visually and programmatically to create a specialized environment for your users.
  • Using Controls
    Controls manage the interactions between users and your application. Microsoft® Visual FoxPro® offers a variety of controls to enhance your application interface.
  • Designing Menus and Toolbars
    A good menu system tells your users a lot about the design and structure of your application. Planning menus and toolbars carefully can improve the usability of your application and provide immediate access to common tasks.