Creating a Detail Only form

To create a detail-only form:

  1. In Design Mode, launch the “New Form Wizard”.
  2. In the first page of the wizard, select the “Create new form” option, and then click “Next”.
  3. In the next page, complete the following required fields:
    • In the “Name” field, perform one of these actions:
      • Select from the drop-down list the name of an existing form to use as the basis for the new form.
      • Type a name for the new form.

        Form names must be unique.

    • From the “Form Type” drop-down list, select “Detail-Only”.
    • From the “Data Source” drop-down list, select an IDO to return the primary collection.
  4. Optionally, specify a default “Device Type” , a Query Form, and any comments.

    Comments are stored with the form definition and do not appear anywhere on the actual form.

  5. Click “Next”.
  6. In the next page of the wizard (“Select Properties”), specify the properties of the IDO that are to be used with components in the new form.
  7. Click “Next”.
  8. In the next page of the wizard (“Properties”), you can specify:
    • The order in which the properties are listed, which determines the order in which they display on the form initially
    • The captions for properties/components
    • Any containment
    • What component class, if any, is to be applied to each property/component

    See “New Form Wizard, Properties”.

  9. If one of the properties is a subcollection property, the wizard prompts you to identify the subcollection information.
  10. Click “Next”.

    The wizard displays the “Select Properties” page again.

  11. Specify the properties of the subcollection IDO that are to be used and displayed in the subcollection grid.
  12. Click “Next” .

    The wizard displays the “Properties” page again.

  13.  Specify the order, the captions, and any other desired subcollection information for each property.
  14. Click “Next” .
  15. Optionally, to create a template from the new form, select the “Save Template” option.
  16. Click “Finish”.

WinStudio then creates the form and displays a rough-draft version in Design Mode.

相关主题