Previous Topic: What Is a Property Sheet?

Next Topic: Creating a Function to Work with Projects and Tasks

Defining the Property Sheet

Defining a property sheet is similar to defining a wizard. A function is created that inherits from UISTYLE/FrameProperty, which gives it the property sheet user interface, and then you specify the functions to use for the tabs on the property sheet. You inherit from UISTYLE/FrameChild to define the functions for each tab.

To define the property sheet:

  1. Set the Model Editor object type to Function, and then add the following triple:
    Project Property Sheet is a FNC UISTYLE/FrameProperty
    

    As with the function Project Wizard, you create the function Project Property Sheet as an unscoped function.

  2. Add the following triple:
    Employee.Edit is a FNC UISTYLE/FrameChild
    

    This triple enables you to use the edit function scoped to Employee on a tab of the property sheet. It turns the scoped panel into a child panel.

  3. Add the following triple:
    Project Property Sheet comprises FNC Employee.Edit
    

    This triple associates Employee.Edit with the first tab on the property sheet. Later in this chapter, you will associate a function that displays both projects and tasks with the second tab.