When you open a function, or create a new function, you are initially presented with the Structure View.

In Structure View, you have a complete outline picture of the function in tree from. The objects in the function are represented by icons and display the object reference (tag or name). A tooltip expansion is provided to display the full reference if there is not enough available space. A right-click menu is also available for quick access to object tools.  

Tag Names

Meaningful tag names make the structure of the function much easier to read. If you are creating a new function, the view shows one cycle of the appropriate type with a default name such as NewScreenCycle1. By giving the objects in your function meaningful names, for example OuterCycle, CustomerSelectionCycle or UpdateTotalsCycle, you make the Structure View much easier to follow.

Expanding the Structure View

Objects that have children may be expanded to show child objects by clicking the + symbol next to that object. Contraction to reduce levels displayed can be achieved by clicking the – symbol.

Click Expand Detail icon in the bottom toolbar to expand the structure tree so that it lists all components for a function.

More detailed information on the dynamic components is provided in the Dynamics view. More detailed information each of the File Accessors is available via File view.

Tag names are used to identify individual dynamic components an file accessors are identified by the logical file name.

Click Contract Detail icon on the bottom toolbar to contract an expanded view.

Detail Expansion

Clickbelow the tree to refresh the display providing additional information in brackets next to the reference. For Dynamic field objects the variable is shown, and for File Accessors, the current modes are displayed on the form of {A-C-D-L} representing the corresponding mode for the screen modes Add, Change, Lookup and Delete.

Displaying an Object’s Properties

To access an object's properties, select the Change view icon to display the Object Properties Grid. This displays the object's properties which can be directly selected and amended.

Note: Setting the Enable Object Properties in Views option in the Developer Options window ensures that the icon appears in the Development Views.

Aggregated Object Properties

The Structure View facilitates the selection of multiple objects and the maintenance of the aggregated object properties.

Alternatively select the object, and then click theChange viewicon on the PROIV Developer Toolbar to display the selected object properties. However, you cannot amend aggregated properties in this manner.

To view the function's properties, click the icon on the PROIV Developer Toolbar.

On the Events tab of any object's property, you can edit the logic associated with each of the available process points.

Adding New Objects

Click on the Add Objects After Current Selection icon   on the PROIV Developer Toolbar, or the right-click on an object and select Add to add new components to the function below the selected object. If the last object in a cycle is selected as the insertion point you are prompted for insertion in or after the cycle.

Forms Designer

Click Forms Designer icon on the toolbar, or right-click on an object and select Forms Designer to invoke the Forms Designer. If the function object is selected (the first item), or no items are selected, the complete screen function is opened in the Forms Designer, otherwise, the parent cycle of the highlighted object is opened.

Comment on this topic

Topic ID: 500382