8.6.1 Entering Data into Forms

Menudef data entry forms are manipulated in the same way as other data entry forms are in formedit(C-1), lfedit(C-1), etc.

The Menu Description form and Menu File Description form can be one of three operational modes: ADD mode, UPDATE mode and NO mode, while the Choice Description form and Parameter Field Description form can be in one of two operational modes: ADD mode or UPDATE mode.

The common functions available are displayed on the last line of the screen, and the current mode is displayed on the next to the last line of the screen.

To enter or modify the data in a form, you must be in ADD or UPDATE mode. When in ADD or UPDATE mode, you can type the data you want in the fields on the form and perform the following operations with special keys:

Table 8-3: Data Entry Form Special Keys

Name Keys(s) Function

Up Arrow gifs/00000005.gif If the cursor is at the beginning of a field, the Up Arrow key moves the cursor up to the beginning of the previous field. Otherwise, the Up Arrow key moves the cursor to the beginning of the current field.

Down Arrow gifs/00000004.gif The Down Arrow key moves the cursor down to the beginning of the next field.

Left Arrow gifs/00000003.gif If the cursor is at the beginning of a field, the Left Arrow key moves the cursor to the end of the previous field. Otherwise, the Left Arrow key moves the cursor to the left in the current field.

Right Arrow gifs/00000002.gif If the cursor is at the end of a field, the Right Arrow key moves the cursor to the beginning of the next field. Otherwise, the Right Arrow key moves the cursor to the right in the current field.

Tab The Tab key moves the cursor to the next field.

Return The Return key moves the cursor to the next field.

Home <F1>gifs/00000005.gif The Home key (also performed by pressing the <F1> key then UP Arrow key) moves the cursor to the first field.

Clear The Clear key clears all the fields on the screen.

Erase The Erase key (usually Back Space) backs up and erases the last character typed.

Insert Line The Insert Line key inserts a blank line at the current cursor position. The Insert Line only works within a 'Commands' field.

Delete Line The Delete Line key deletes a line at the current cursor position. The Delete Line only works within a 'Commands' field.

Insert Char The Insert Char key inserts a blank at the cursor position and shifts the rest of the field to the right.

Delete Char The Delete Char key deletes a character at the cursor position and shifts the rest of the field to the left.

Interrupt The Interrupt key (usually Del) forces menudef to quit immediately without saving the new menufile.

Kill The Kill key (often @) erases the entire contents of the field the cursor is in and moves the cursor to the beginning of that field.