peViewType - cWebView

Assigns a view type

Type: Property

Access: Read/Write

Data Type: Integer

Parameters: None

Syntax
 Property Integer peViewType

Read Access: Get peViewType to IntegerVariable
Write Access: Set peViewType to IntegerVariable/Value


Description

Assigns a view type. The framework supports three view types, Zoom, Select and Undefined.

This is a design time property.

Possible values:

ConstantMeaning
vtZoomZooms are used to display and edit data around a single set of data.
vtSelectSelects 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.
vtUndefinedUndefined


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. 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


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

At the simplest level, assume each DataDictionary Object (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.