Developer tips

Find APPX examples by the job in front of you. For a programming interface, start with the supported runtime routines. For a field, ILF statement, or process type, use the design manual for your release.

ILF and process behavior

Find a runtime subroutine

Look up a supported APPX routine by name or task. The separate release guide lists the routines introduced in 5.1.

See how APPX includes a SUBROUTINE in the calling event point at compile time.

Compare SUBPROCESS, RELATED, and DETACHED scope for work fields and temporary files.

Identify the chain of callers that led to the active process.

Work out when Pre-Display, Verify, and Pre-Display/Verify run in an INPUT process.

Reuse a full-screen INQUIRY for the selected record as an automatic or optional child.

Show who changed a record and when the change was made.

Screens, clients, and charts

Use the Environment Variable Wizard to build a setting, the WIDGET wizard to identify field names, or the Release Notes Viewer to find a change.

Build a table or handle a GUI event

The APPX 5.2.0 feature index links the original table widget, drag-and-drop and field event guides. That release also added utilities for generating a subroutine from ILF.

Look up macros for layering, drop shadows, and movable buttons in GUI processes.

Use an embeddable map URL when a map that worked in the Java client fails to display in a browser.

Build a chart from APPX

Find chart routines and examples for the 0CD interface introduced in APPX 5.1. The vendor site documents the underlying ChartDirector product.

Use the 0LC application, hook records, and themes to change standard screens such as Scan and Disposition.

Design a scrolling area that can use extra rows when the desktop window is taller.

Review the client window size and what a different number of rows or columns means for existing screens.

Data access and import

Review how APPX reads and selects records stored in Oracle or SQL Server.

APPX introduced 0DX in 5.3. The walkthrough documents the 5.3.1 version.

Follow a delimited-file example. For APPX 5.1 and later, the article lists the runtime APIs that replace its older subroutines.

Choose a method for reading an external file containing sequential records.

Copy all or selected records between instances of the same APPX file.

Review the cached-file syntax introduced in APPX 4.1 for CREATE, OPEN, SCRATCH, and IF EXIST.

Compare an alpha conversion with a working-storage GROUP for retaining the original character data.

Trace how text encodings affect characters in imported data, XML, and PDF output.

Follow a Windows Visual Basic example that reads APPX/IO records through ODBC. Choose an APPX ODBC cookbook.

Reports, printing, and background jobs

Configure the report generator so end users can define their own reports.

Identify the three memory files that hold the query specifications for a report.

Compare an OUTPUT process with an UPDATE when a posting run needs a printed log.

Place a predefined form beneath the report data in an OUTPUT process.

Review the legacy TrueType and barcode font procedure. The article identifies this implementation as unsupported in APPX 4.x and 5.x.

Choose how a print job reaches a printer on the workstation.

Trace text output from the APPX process through the print queue.

Review how APPX starts a separate session and how a submission script can change the way a job runs.

Operating system calls and older clients

Review older examples for invoking Windows shell functions, batch files, and executables.

Follow the PASS and CALL interface in a Windows telephony example.

Read the APPX 3.4 notes for calling external code on Unix or Windows.

This APPX 3.x-era procedure applies to character mode and the old Presentation Manager client.

Use this reference when maintaining existing code. The ,RT_ calls are unsupported and can change or disappear. Use the supported runtime API directory when writing new code.

Comments:

Read what other users have said about this page or add your own comments.


 

-- ChrisBrower - 2011-06-07

This topic: APPX > WebHome > DeveloperTips
Topic revision: 03 Dec 2026, AdminUser
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding APPX Wiki? Send feedback