View Mode Overview

This is a quick overview of how a view works and how it can be used.
Table 1. View Elements

Element

Description

Objects

Windows controls (Common and Custom), ActiveX controls, OLE objects, and other lightweight graphical objects.

Properties

Control how objects look and behave. Usually set in edit mode, but can also be accessed by VBScript from run mode.

VBScript

Embedded VB compatible scripting engine can access objects in the form and pre-registered variables (including local variables).

Define Layout

By built-in Editor; defined while program running.

Member Variables

Bound to objects through Property Sheet (if used).

Printing

Printing support built in.

A view has two operating modes:

  • Edit Mode — The user interface for the view is built in this mode. Objects can be added or deleted, and objects' properties can be edited.

  • Run Mode — Most users only see this mode. Controls are created and data is connected to dynamic objects.