This example illustrates embedding Px files with ord variables
using a PxInclude widget.
In this example, there are two relativized views, Child
1 and Child 2 to include in the master Px file.
- Edit the relativized ords in your Px views to use the
$(variablename) syntax in place of the actual ords, for
example: $(Child1)/Variable1. - Save the Child 1 and Child 2 Px files.
- Create another folder named, Master and add a Px view.
- Drag the Child 1 folder onto the Master Px view.
- In the Make Widget wizard, select
the Include Px File option, and use the File ord
Chooser to select the Child1Px.px file and click OK.
- Select variable to bind, Child 1, and
click OK. The PxInclude widget’s properties.
- Repeat the steps 4–6 above using the Child 2 folder.
- Switch to View mode to see the embedded Px files with ord
variables. Use the Actions menu to affect the
changes: