RE: Forms 3 Question: Use of special key
Date: 9 Jan 1995 00:30:33 GMT
Message-ID: <3eq039$8f7_at_pearl.whoi.edu>
> : I wanted to define a key (like Ctrl-Z) to perform a special function in
> : my form like return me to the first block in a form or calculate a value
> : and popup a window with the value.
> : If this is possible, what do I assign the Ctrl-Z key to in ORA*TERM?
>
> You want to use the 10 Key-Fn keys (Key-F0 through Key-F9), which need to
> be mapped to a character (or character sequence) with Oracle Terminal.
> If the key(s) you want are already in use, you'll have to move them.
>
> Some keys can be moved more easily than others.
>
> I did a wholesale remapping of the VT220 keyboard for our users, who
> use a VT220 terminal emulator on a PC. This has the additional virtue of
> having the keyboard map show the PC keynames rather than the VT220 keynames.
I found a "Product Key Name" of BGM1 through BGM10 (which I assumed were the Key-Fn keys; didn't have my Oraterm book handy to check on this). I assigned Ctrl-Z to BGM5 in Oraterm (no problem) then went into SQL*Forms and setup a KEY-F5 trigger (i put a simple "message" statement in the trigger). When I pressed the Ctrl-Z I got the message:
FRM-41004: Function Key not allowed in this mode.
The "SQL*Forms Designer Reference Manual" says on page 14-11 that you can't run a Key-Fn in Enter Query mode and Edit mode. This is really lame!!! I don't see why this restriction exists.
David Hiltz
dhiltz_at_whsun1.wh.whoi.edu
Network System Administrator
Northeast Fisheries Science Center
######&_at_&###### Received on Mon Jan 09 1995 - 01:30:33 CET