Re: [Q-4gl] Cursor in DISPLAY ARRAY
Posted in 1994
cinsop@nask.org.pl (Centr. Instytut Ochrony Pracy) writes: > I have problems with using such construction in Informix 4GL: > DISPLAY ARRAY [........] > ON KEY(CONTROL-J) > [ code ] > ON KEY(CONTROL-K) > [ code ] > [ other code ] > END DISPLAY > This works ok except section reacting on control-j and k ( up and >down arrow). This same section with control-m (return) works correct. > Does anybody know why ? How to correct it ? Off the top of my head, I don't think CONTROL-J or CONTROL-K are on the "approved" list of CONTROL keys 4GL can trap. I'm surprised your code compiled. Try: ON KEY(DOWN) [ code ] ON KEY(UP) [ code ] Which may or may not work with DISPLAY ARRAY. See the reference manual under OPTIONS for the list of "approved" CONTROL keys.