Skip to main content

[Migrated content. Thread originally posted on 09 March 2006]

Hello
I am accepting a graphical screen with one entry field with the following code:

ACCEPT SCREEN1
ON EXCEPTION PERFORM EXCEPTION-PROC

The only keys that activate the exception are ENTER, ESC, TAB and F1-F9. There is no response from the program when I hit F10-F12, the Arrow keys and the Page Up and Page Down keys. I would like to check for Page Up and Page Down in the program.
Does anyone know how I can get the program to recognize when they have been pushed??

[Migrated content. Thread originally posted on 09 March 2006]

Hello
I am accepting a graphical screen with one entry field with the following code:

ACCEPT SCREEN1
ON EXCEPTION PERFORM EXCEPTION-PROC

The only keys that activate the exception are ENTER, ESC, TAB and F1-F9. There is no response from the program when I hit F10-F12, the Arrow keys and the Page Up and Page Down keys. I would like to check for Page Up and Page Down in the program.
Does anyone know how I can get the program to recognize when they have been pushed??
If you only have one ENTRY-FIELD then I would ACCEPT the field instead of the screen.

We found that ACCEPTing screens was a lot more restrictive than using the individual fields.

We use a screen field loop that accepts each control in turn. If any field generates a CMD-GOTO, then we take note of the field that generated the event but set EVENT-ACTION-TERMINATE. That way we can do any validation of the current (or subsequent) fields before passing control to the new field.

[Migrated content. Thread originally posted on 09 March 2006]

Hello
I am accepting a graphical screen with one entry field with the following code:

ACCEPT SCREEN1
ON EXCEPTION PERFORM EXCEPTION-PROC

The only keys that activate the exception are ENTER, ESC, TAB and F1-F9. There is no response from the program when I hit F10-F12, the Arrow keys and the Page Up and Page Down keys. I would like to check for Page Up and Page Down in the program.
Does anyone know how I can get the program to recognize when they have been pushed??
Check the Acucobol User's Guide chapter 4.3.2.3

[Migrated content. Thread originally posted on 09 March 2006]

Hello
I am accepting a graphical screen with one entry field with the following code:

ACCEPT SCREEN1
ON EXCEPTION PERFORM EXCEPTION-PROC

The only keys that activate the exception are ENTER, ESC, TAB and F1-F9. There is no response from the program when I hit F10-F12, the Arrow keys and the Page Up and Page Down keys. I would like to check for Page Up and Page Down in the program.
Does anyone know how I can get the program to recognize when they have been pushed??
Check the Acucobol User's Guide chapter 4.3.2.3

[Migrated content. Thread originally posted on 09 March 2006]

Hello
I am accepting a graphical screen with one entry field with the following code:

ACCEPT SCREEN1
ON EXCEPTION PERFORM EXCEPTION-PROC

The only keys that activate the exception are ENTER, ESC, TAB and F1-F9. There is no response from the program when I hit F10-F12, the Arrow keys and the Page Up and Page Down keys. I would like to check for Page Up and Page Down in the program.
Does anyone know how I can get the program to recognize when they have been pushed??
Check the Acucobol User's Guide chapter 4.3.2.3

[Migrated content. Thread originally posted on 09 March 2006]

Hello
I am accepting a graphical screen with one entry field with the following code:

ACCEPT SCREEN1
ON EXCEPTION PERFORM EXCEPTION-PROC

The only keys that activate the exception are ENTER, ESC, TAB and F1-F9. There is no response from the program when I hit F10-F12, the Arrow keys and the Page Up and Page Down keys. I would like to check for Page Up and Page Down in the program.
Does anyone know how I can get the program to recognize when they have been pushed??
Thank you both