Skip to content

View Type Property

Terminology
View Navigation Properties


Typically, drilldown views will be Zooms (form) or Selects (list/grid). Zooms are used to display and edit data around a single set of data, while Selects are used to present sets of records for selection. Selecting a record can cause a view to navigate forward to another view or it can navigate back, possibly returning and updating data to the invoking view.

Examples

  • A Select view may contain a list of customers. Selecting a customer may forward navigate to a Zoom view that displays information about the selected row’s customer.

  • A Select view may contain a list of customers. Selecting a customer may forward navigate to a Select view that shows all orders for that customer.

  • A Select view may contain a list of customers. Selecting a customer may close the view and return a selected record to the invoking view (perhaps an Order Zoom that is selecting a customer for an order).

Note that the same view might be used for all three purposes, possibly at the same time.

At the simplest level, assume each DDO in your application may have a Zoom view and a Select view. Both the Zoom and Select view will have the same main file and use the same DD class. Application flow will be determined by how these views are all linked together (i.e., what view navigates to what view and for what purpose). This linking is determined by the developer.

A view type is assigned to a view using the peViewType property. The framework supports three view types: Zoom, Select, and Undefined (vtZoom, vtSelect, vtUndefined). This is a design-time property.


Previous Topic: Terminology
Next Topic: View Navigation Properties

See Also