![]() Structure View for Report Functions |
![]() DEVELOPER |
![]() |
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.
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 NewReportCycle. By giving the objects in your function meaningful names, for example OuterReportCycle, CustomerSelectionReportCycle or UpdateTotalsReportCycle, you make the Structure View much easier to follow.
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.
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.
To access an object's properties, select the 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 |
The Structure View facilitates the selection of multiple objects and the maintenance of the aggregated object properties.
When multiple objects are selected, the Object Properties Grid displays a list of aggregated properties that can be edited.
If disparate objects are selected, (e.g. Edit Box and File Accessor) there are few or no common properties. Therefore, the Object Property Grid could be empty, and this is valid.
If a property has different current values for objects selected, an empty edit box with a different background colour displays, and you can set the value. If all objects have the same value, the value displays, and can be changed if required.
When aggregated properties are maintained, the correct values are saved to the correct objects when the field is exited.
Alternatively select the object, and then click theicon
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.
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.
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.
Topic ID: 500382