Progress
AppBuilder
Developer’s Guide
Creating Extended Features (XFTRs)
An XFTR is a code block that you write to customize the behavior of AppBuilder. There are two uses for XFTRs:
An XFTR can be self-modifying; that is, change itself based on user action. Figure C–4 shows a sample XFTR.
Figure C–4: XFTR in browser.w Template
This code does not, by itself, perform any customized processing. However, it points to other 4GL procedures (
adm2/support/_wizard.w
andadm2/support/_wizdel.p
) that do perform customized processing. AppBuilder calls these procedures when significant AppBuilder events occur; for example, when a design window is realized or code is generated. Consequently, these procedures are called XFTR event handlers. An XFTR can reference up to five such procedures for AppBuilder events (see Table C–3).As this example illustrates, an XFTR has five sections:
The following sections explain how to set up these sections.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |