About Px files

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 be used to provide a complete variety of options in the development of dynamic user interfaces.

The contents of a very basic Px file is shown in the figure below as it appears in the Text Editor. This file simply contains an empty canvas pane nested in a scroll pane.



Figure 9.   Basic default Px file in Text Editor View

Image

As you add more objects to the file, (typically 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 10.   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).
 
  • For information refer to the Px Editor.
  • For information refer to the Widget Tree side bar.
  • For more information refer to the Workbench Text Editor