Scroll down (F3) for Eddie Bradford
Posted in 1994
----- Transcript of session follows ----- 550 <ebrad@eckhart.scd.ucar.edu>... Host unknown > I have a 4GL program that needs to detect when the user has pressed the "F3" > function key. This occurs in the BEFORE INSERT clause within an INPUT ARRAY > clause. > > The F3 is the default scroll down key, and when the F3 is pressed, the screen > scrolls down properly - usually. When the number of items in the table being > scrolled is identical to the number of items in the screen record (4), the > IF clause containing the check for F3 fails. > > I.E. > > LET keyStroke = fgl_lastkey( ) > IF( keyStroke = fgl_keyval("f3") ) THEN > . > . > . > . > END IF > If you slowed down your display you might see a message like "No more rows in that direction.". In other words I think the Scroll_Down key is disabled unless there is a screen to scroll down to. cheers j. _____________________________________________________________________________ Jack Parker | Hewlett Packard, BSMC Boise, Idaho, USA| Please note change of email address. jparker@hpbs3645.boi.hp.com | <--------- (208) 396-5388 (W) (208) 384-1623 (H) | _____________________________________________________________________________ Any opinions expressed herein are my own and not those of my employers. _____________________________________________________________________________