Previous Topic: Modifying the Parent Panel

Next Topic: Setting the Caption

Setting the Tab Text

By default, the property sheet uses the unscoped name of each child function for the labels on the tabs. Remember that you used Employee.Edit for the first tab and Project.Maintain Projects for the second tab. The property sheet you created has the text Edit on the employee tab and Maintain Projects on the project and task tab:

Setting the Tab Text

To override this and specify tab labels yourself, you can add FNC name NME triples to specify the text to display on that function’s tab in the property sheet.

To specify text for the tabs on the property sheet:

  1. In the Model Editor, set the object type to Function, and add the following triples:
    
    
    Employee.Edit name NME Employees
    Project.Maintain Projects name NME Projects and Tasks
    
  2. Save your model.

When you generate and build the property sheet function, the first tab will read Employees and the second tab will read Projects and Tasks:

Setting the Tab Text (2)