Step 7: Running the Maintain Request

Try it now: At the FOCUS prompt, enter the following command:

MNTCON EX CARSPECS

or

EX CARSPECS

The CarSpecs application displays the following Winform:

The application's function keys perform the following actions:

PF7, PF8, PF10, and PF11 are default system actions preassigned to those keys.

PF Key

Action

PF1

Data for the previous car displays. The display is cycled through the entire stack. This means that if you are positioned at the first row, your position is changed to the last row.

PF2

Data for the next car displays. As with PF1, the display is cycled so if you are positioned at the last row, your position is changed to the first row.

PF3

Enables the user to exit the procedure. All changes since the last data source update are lost. (The data source is updated when you press PF1, PF2, or PF4.)

PF4

Exits the procedure, and the data source is updated with any changes made.

PF7

When the cursor is on the grid, the rows in the grid are scrolled backward.

PF8

When the cursor is on the grid, the rows in the grid are scrolled forward.

PF10

When the cursor is on the grid, the columns in the grid are scrolled left.

PF11

When the cursor is on the grid, the columns in the grid are scrolled right.

Congratulations! You have painted an event-driven Maintain application.


Information Builders