Lesson 12 - Advanced Features of the Application Generator

Top  Previous  Next

This lesson summarizes more of the built-in template support and surrounding tools that are standard features of the Application Generator.

Global Template Support

In Lesson 11, the basic functions of the Application Generator’s Global Properties were introduced. This section continues by exploring more of the Global standard features and options available for your applications.

Each of the following options is discussed in more detail in the Global Properties help topic. This section is designed to give you a quick summary of the many features available.

 

ABC Template Chain

General

Program Author

Program Icon

Use column description as MSG() when MSG() is blank

Generate template globals and ABC’s as EXTERNAL

External Globals and ABC’s Source Module

Dynamic Link Library (DLL)

Statically Linked Library (LIB)

Generate EMBED Comments

Non-Volatile Storage Settings

Location (INI File or System Registry)

INI File Options Registry Options

INI File to use         App Registry Key

Other File Name     Registry Root

Disable Save/Restore Window Locations

Preserve (Global Variables)

Enable Run-Time Translation

Enable Fuzzy Matching

Fuzzy Matching Options

Ignore Case

Word Only

 

App Settings

Enable Window Frame Dragging

Include Default XP Manifest

Provide visual indicators on control with focus

Set visual indicators

Field Navigation

Use ENTER key instead of TAB

Exclude Controls

Default Action (Enable/Disable/Runtime)

Default Action (Runtime Only)

Extended Browse Options

Enable Auto size BrowseBox Columns

Enable List Format Manager

List Format Manager Configuration

Enable Rebase

Image Base Memory Address

File Control

Generate all file declarations

Enclose RI code in transaction frame

Seconds for RECOVER

File Attributes

Threaded (Use File Setting/All Threaded/None Threaded)

Create (Use File Setting / Create All / Create None)

External (None External / All External)

Declaring Module

All files are declared in another .APP

File Access

File Open Mode ( Share / Open / Other )

Other Open Mode

User Access ( Read/Write / Read Only / Write Only )

Other Access ( Deny None / Deny All / Deny Read / Deny Write / Any Access)

Defer opening files until accessed

Individual File Overrides

Properties (Options similar to File Control tab)

Global Objects

Don’t generate globals

Error Manager

INI File Manager

Run-time Translator

Fuzzy Matcher

Classes

Refresh Application Builder Class Information

Application Builder Class Builder

General

Window Manager

Image Manager

Error Manager

Popup Manager

DOS File Lookup

Resizer

INI Manager

Run-Time Translator

Calendar Class

Browser

Browser

File Loaded Drop Manager

File Loaded Combo Manager

FormVCR Manager

EIP

Browse EIP Manager

Template Interface

Edit-in-Place Class

QBE

QueryForm

QueryForm Visual

Query List

Query List Visual

Step Managers

Abstract Step Base Class

Long

Real

String

Custom

Locator Managers

Step

Entry

Incremental

Filtered

Others

Fuzzy Matcher

Grid Manager

Sidebar Manager (deprecated)

Ascii Viewer

Ascii Viewer

Ascii Searcher

Ascii Printer

Ascii File Manager

File Management

File Manager

View Manager

Relation Manager

Process and Reports

Process

Print Previewer

Report Manager

Report Target Selector

Break Manager

Toolbar Managers

Toolbar Manager

Toolbar List Box Manager

Toolbar Relation Tree

Toolbar Update Manager

Toolbar FormVCR Manager

ABC Library Files

Override defaults

Location of ABC Library

External library base name

Clarion Version

Clarion Version

Template Family

Template Version

ABC Version

 

 

Clarion Template Chain

General

Program Author

Program Icon

Use column description as MSG() when MSG() is blank

Generate template global data as EXTERNAL

Generate EMBED Comments

INI File Settings

Use .INI file to save and restore program settings

.INI file to use

Other File Name

App Settings

Enable Window Frame Dragging

Include Default XP Manifest

Provide visual indicators on control with focus

Set visual indicators

Field Navigation

Use ENTER key instead of TAB

Exclude Controls

Default Action (Enable/Disable/Runtime)

Default Action (Runtime Only)

Report Preview Mode (ABC Class / Procedure)

Default Report Procedure

Extended Browse Options

Enable Auto size BrowseBox Columns

Enable List Format Manager

List Format Manager Configuration

Browse Active Invisible

Enable Rebase

Image Base Memory Address

File Control

Generate all file declarations

When done with a File (Close the File / Keep the File Open)

Enclose RI code in transaction frame

Seconds for RECOVER

File Attributes

Threaded (Use File Setting/All Threaded/None Threaded)

Create (Use File Setting / Create All / Create None)

External (None External / All External)

Declaring Module

All files are declared in another .APP

File Access

File Open Mode ( Share / Open / Other )

Other Open Mode

User Access ( Read/Write / Read Only / Write Only )

Other Access ( Deny None / Deny All / Deny Read / Deny Write / Any Access)

Defer opening files until accessed

Individual File Overrides

Properties (Options similar to File Control tab)

Classes

Enable the use of ABC classes

Refresh Application Builder Class Information

Application Builder Class Builder

ABC Library Files

Override defaults

Location of ABC Library

External library base name

Default Classes

Edit in Place

Browse EIP Manager

Entry Class

Text Class

Check Class

Spin Class

DropList Class

DropCombo Class

Color Class

File Class

Font Class

MultiSelect Class

Calendar Class

Lookup Class

Other Class

Reports

Print Previewer

Report Target Selector

Calendar Class

Calendar Class

Clarion Version

Clarion Version

Template Family

Template Version

 

 

Application Utilities

The Application Generator has several useful utilities available to you. These utilities are template based, and available from within the Application Generator.

Access the following utility templates by pressing the Template Utility button on the Application Generator’s toolbar (or press CTRL + U).

 

View ABC Classes

The View ABC Classes Utility is better known as the Application Builder Class Viewer. Its purpose is to display all of the ABC Compliant Classes in a relational tree format.

The rules for registering a class and to include it in the Viewer are found in the ABC Compliant Classes help topic.

 

The following views are available:

 

Class List

An alphabetical list of Classes, and their Properties, Methods, and Implements.

Class Hierarchy

An alphabetical list of Classes, and other classes that inherit them.

Interfaces

An alphabetical list of Interfaces, and their methods and prototypes.

Class Method List

An alphabetical list of all methods, prototypes, and what class they belong to.

Class Property List

An alphabetical list of all properties, their declared data type, and class location.

Class Files

The full list of all ABC Compliant Class Files and their Classes, Interfaces and Public Procedures contained therein.

 

WriteHLP

The ListHLPIDs utility template searches through an active application and extracts all help IDs specified by any existing HLP attribute on a WINDOW or control. The output is generated to a designated text file.

 

This tool is invaluable to any developer writing professional help for their applications.

 

Dictionary Print

This utility is used to document and print the contents of the active application’s data dictionary.There are many options available, including:

 

·

Generate and keep the output text file, or delete it after printing.

·

Name your text file, and decide whether to print it right away.

·

Select all files, or any combination to document and print.

·

Control the level of detail for files, fields, keys, and relationships.

 

More information can be found at the Dictionary Print Wizard core help topic.

 

 

Application Import/Export

The Clarion IDE provides several methods of importing and exporting selected parts of your application with other Clarion applications. In addition, the export feature is an excellent way of archiving or backing up your important work. It can also be used with your selected Version Control System. Each item can be found on the IDE Application menu.

There are 4 types of import/export functions available.

Import From Application

This function allows you to import one or more procedures from another application file. Select the file from the Open File dialog. Then choose procedures to import from the Select Items to Import dialog.

You can select an item by DOUBLE-CLICKING on it. A check mark appears to indicate the item is selected. Select additional items by DOUBLE-CLICKING. De-select an item by DOUBLE-CLICKING a previously selected item. Note: Both applications must use the same dictionary.

Selective Export

This function allows you to select individual procedures to export to an application text file. This feature is particularly useful when you need to transfer a procedure to another developer for sharing, and without having to send the entire application.

Import Text

Imports the procedures defined in a .TXA (text) file. These are the TXA files you can create by using the Selective Export or Export Text functions.

Export Text

Creates a .TXA (text) file from the current application.

 

Next: Lesson 13 - Customizing the Application: Adding Templates