Purpose

This property determines the purpose of the object during development. It is used to separate application objects from templates and palettes.

Technical Name: UPURPOSE
Mandatory?: No
Default Value: N
Value Description
N

Object is a normal development object for use in an application

P Object is a palette, which contains templates for subobjects
T Object is a template for creating a new main development object
H Development object is not visible for browsing in the Uniface IDE.

Description

When you create new main development objects, the Purpose property is set to N (Normal), because it is assumed that they are intended for use in an application.

In some circumstances, you may want to make normal objects less visible by setting the Purpose property to H (Hidden). For example, if you create a project containing your own templates and palettes, you can prevent others from discovering this project.

It is only possible to set the Purpose property to T (Template) or P (Palette) if the Uniface IDE has been configured to enable template creation and editing. To do so, set the logical ALLOW_BROWSE_TEMPLATES = 1. This will also make hidden objects visible. For more information, see Define Palettes and Templates.

By default, templates and palettes are visible for browsing only in the Templates tab of the Resource Browsers. Normal development objects are visible when browsing in the U-Bar or Resource Browsers so that you can easily locate and open them for editing or reuse.

Applies To

All main development objects, such as:

Related Topics