Shared Px files

A Px file may be used as part of one or more Px views. Editing a shared Px file affects all views that use it.

Since the bindings within a Px file are always resolved relative to the current ORD, you can reuse the same Px file across multiple components by specifying bindings with relative ORDs. This allows you to create a single presentation and use it in views that are assigned to components that can use an identical graphic layout. The obvious advantage of file sharing is that you only need to create and edit one Px file for many views, thus saving time and ensuring consistency among similar applications. However, it requires that you understand the following caution.

 CAUTION: Editing a Px file affects all views that use that particular Px file. When you view a component in the Px Editor, you have its Px file open for editing. If the Px file is shared with other Px views, all of those Px Views are changed.