About windows

Windows form the interface between the user and a PocketBuilder application. Windows can display information, request information from a user, and respond to the user's stylus or keyboard actions.

A window consists of:

At the window level

When you create a window, you specify its properties in the Window painter’s Properties view. You can dynamically change window properties in scripts during execution.

You can write scripts for window events to specify what should happen when a window is manipulated. For example, you can connect to a database when a window is opened by coding the appropriate statements in the script for the window's Open event.

At the control level

You place PocketBuilder controls, such as CheckBox, CommandButton, or MultiLineEdit controls, in a window to request and receive information from the user and to present information to the user.

After you place a control in a window, you can define the style of the control, move and resize the control, and code scripts to determine how the control responds to events.