Skip to content

IsViewReadOnly - cWebView

Returns True if a drilldown style view is read-only

Type: Function
Return Data Type: Boolean

Syntax

Function IsViewReadOnly Returns Boolean

Call Example

Get IsViewReadOnly to BooleanVariable

Description

IsViewReadOnly is called to determine if a drilldown style view (peWebViewStyle = wvsDrilldown) is read-only.

When a drilldown view is navigated to, the tWebNavigateData member bReadOnly can be set True to make a read-only inside of OnGetNavigateForwardData. All data entry objects (DEOs) within the view will be enabled or disabled appropriately to represent this.

After the view has been activated, you can change this state by calling ChangeEditMode.

Note that this should only be used with drilldown style views.