Re: Getting last key pressed in 4GL
Posted in 1994
In article <2tjopt$8k7@rzcom.stadt-mh.de> scheer@AMT10H01.stadt-mh.de (Dirch Scheer) writes: >From: scheer@AMT10H01.stadt-mh.de (Dirch Scheer) >Subject: Getting last key pressed in 4GL >Date: 14 Jun 1994 08:12:45 GMT >Hello out there, >I want to implement the following mechanism with 4GL: >A database is polled every 3 seconds and some sums are displayed on screen. >This is programmed in a endless loop. In this loop I check for pressing of >the INTERRUPT key by checking the value of int_flag. If this button is >pressed the user will end the endless loop. Everything is working fine. >But now my question. I want to use other keys to start printing of the >current shown sums or to switch the display. Till now, I don't have found >any solution to get the last key pressed by user except the INTERRUPT key. Look at fgl_lastkey() function. I know it was undocumented and if you need the info I can dig it up. It returns an int ( I think, I am quoting from memory and mine is not as good as it used to be :-) ).