About Px files

A Px file defines the content and presentation of a Px view.

The Px file is a special XML file that describes the components in a database and can be any collection of components, up to a complete database. All views (wire sheet view, property sheet view, category sheet view, and so on) can be used on components in a Px file. This means that a Px view can provide a complete variety of options in the development of dynamic user interfaces.

Figure 6.   Basic default Px file in Text Editor View
Image

This is how a very basic Px file appears in the Text Editor. This file contains an empty canvas pane nested in a scroll pane.

As you add more objects to the file, ( using the Px Editor) the file looks more like the snippet shown here. The graphic components, value bindings, and their container elements and attributes are all referenced in the Px file.

Figure 7.   Px file in Text Editor View and in Px Editor View
Image

The elements in the Px file are also graphically represented in the Widget Tree side bar pane.

 NOTE: Two types of Px files are available. The standard Px file (includes a scroll pane at the root with a canvas pane) or the ReportPxFile (contains a report pane at the root).