Table of Contents

Programming in OpenInsight

Event Driven Programming

Flow of Event Handling

Understanding Standard Event Handlers and Processes

Advanced Event Handling Techniques

Programmatic Control and Manipulation of Event Processing

Stored Procedures, the System Editor and the Editor++

Procs and System Editor

Stored Procedures Contents

Stored Procedures

Stored Procedures

What Is a Stored Procedure

Types of Stored Procedures

Choosing a Stored Procedure Type

Requirements for Stored Procedures

Requirements for Stored Procedures

Conventions for Stored Procedure

Arguments and their Data Types

The Compile Keyword Optional

The Contract Block

Examples of Stored Procedures

Examples of Stored Procedures

Function Example

Subroutine Example

Editor++

Editor++

Editor++ User Interface

Editor++ Menus

Editor++ Tool Bar

Editor++ Status

Editor++ Features

Editor++ Features

Editor++ Code Templates

Editor++ Configuration

Editor++ Keyword Configuration

Editor++ Fold/Unfold Code

Editor++ Tabbed Panes

Editor++ View Values

Editor++ Contextmenu

Using Commuter Modules

Commuter Module Generator

SCM

SCM

The System Editor

The System Editor

Functions of the System Editor

Terms and Definitions Tables

Starting the System Editor

Using the System Editor

Using the System Editor

Creating a New Record, Insert, or Stored Procedure

Opening an Existing Record

Opening an Existing Stored Procedure or Insert

Debugger and System Monitor

Overview

Starting the OpenInsight Debugger

Starting the OpenInsight Debugger

Procedure: To Start the Debugger from the OpenEngine Icon

Exiting the Debugger

Debugging Stored Procedures and Event Handlers

Debugging Stored Procedures and Event Handlers

The Debugger Interface

The Debugger Interface

The Child Windows

The Debugger Menu

The Debugger Ribbon

The Debugger Status Line

Opening Source Code for Debugging

Opening Source Code for Debugging

Procedure: To Open a Record in the Debugger

Procedure: To Open a Stored Procedure in the Debugger

Procedure: To Open an Insert in the Debugger

Procedure: To Open an Event Handler in the Debugger

Using the Debugger Functionality

Using the Debugger Functionality

Procedure: To Go to a Source Line from the Debug Menu

Procedure: To Set Break Points in Code

Procedure: To Edit Break Points from the Debug Menu

Procedure: To Set a Break Point from the Debug Menu

Procedure: To View and Modify Values of Local Variables

Procedure: To Modify Local Variables in Hex Mode

Procedure: To Trace into a Function or Subroutine

Procedure: To Trace into a Function or Subroutine

Viewing and Modifying Control Properties

Procedure: To Step Over a Function or Subroutine

Procedure: To View Source Code from the Call Stack

Procedure: To View Source Code from the Call Stack

Stepping Through Program Execution

Debugger Intercept

Debugger Intercept

The System Monitor

The System Monitor

System Monitor Functionality

Starting the System Monitor

The System Monitor Interface

Drag and Drop

Overview

Overview

The Drag Source

The Data Object

The Drop Target

Properties

General Properties

General Properties

ENABLEDRAG

ENABLEDRAGROWS

ENABLEDRAGLIST

ENABLEDROP

ENABLEDROPSCROLL

ENABLEDROPEXPAND

ENABLEDROPLIST

System Properties

System Properties

DRAGSOURCE

DROPTARGET

DragSource Properties

DragSource Properties

DRAGBUTTON

DRAGCELLPOS

DRAGCOPY

DRAGFORMATLIST

DRAGMOVE

DRAGPOS

DRAGSELROWCOUNT

DRAGSELROWS

DRAGTEXTSELECTION

Drop Target Properties

DropTarget Properties

DRAGFORMATLIST

DROPACCEPT

DROPCOPY

DROPFORMATLIST

DROPMOVE

DROPRESULT

Events

Drag Source Events

DragSource Events

DRAGSTART event

DRAGEND event

Drop Target Events

DropTarget Events

DRAGOVER

DRAGDROP

DragSource Messages

DragSource Messages

CLEARDRAGDATA message

GETDRAGDATA message

REMOVEDRAGDATA message

SETDRAGBITMAP message

SETDRAGDATA message

Add Drag and Drop Dialog Box

Add Drag and Drop Dialog Box