You can search for the Program, Screen, or Server instances
that call a Macro. You can also update the values of the call parameters
from the Macro cross-references view that displays
the search result. Then, for example, if you add a parameter in the
Macro, you can use this view to indicate its values in the calling
instances.
Procedure
- In the Design Explorer view, select
an open location (
).
- Click the Macro entity line to display its instances.
- Right-click a Macro and select in the
contextual menu.
- Look at the search result in the Macro cross-references view
that is automatically displayed. The view title reminds the Macro
name and the project (with the package if any) in which the Macro
is called.
This view displays the list of the instances
that call the Macro in the local project, and the values of the parameters
in each calling instance.
- To update the value of a parameter or indicate the value
of a new parameter, click
in the view
toolbar. This action is possible only if no design editor is opened
on the instances that are displayed in the view.
- Click a cell in the table and enter the new parameter value.
- Click
in the toolbar to
save the modified parameters in the calling instances. The modifications
are saved only if all the design editors of the instances present
in this view are closed. Note: If, meanwhile, some of the
modified parameters of the view were modified in a different way in
the design editors of the calling instances, the modifications of
the view overwrite the modifications of the design editors.
If you open the CP Lines tab of
the calling instances, you can see the new values.