DTRHELP.HLB  —  Functions  FN$DEFINE_KEY
       Takes a key definition in DCL DEFINE/KEY syntax, then creates the
       defined key in DEC DATATRIEVE.

       This function is not available in a DECwindows Motif environment.

1  –  Input

       A quoted string containing the key definition in DCL DEFINE/KEY
       command syntax.

       You must use single quotation marks for the outer pair of
       quotation marks. The inner pair of quotation marks must be
       double.

2  –  Output

       None.

3  –  Example

       DTR> FN$KEYPAD_MODE ("APPLICATION")
       DTR> FN$DEFINE_KEY ('DEFINE/KEY/ECHO/NOTERMINATE KP7 "FIND" ')

4  –  Usage Note

       The previous example will not work unless the device is set
       to APPLICATION. DEC DATATRIEVE ignores the the terminal
       characteristics of your device, for this reason you must execute
       the FN$KEYPAD_MODE function before executing the FN$DEFINE_KEY
       function.
Close Help