Function SetKxlat() Foundation

Redefines or disables single keys.

Syntax
SetKxlat( [<cOldKeyValue>], ;
          [<cNewKeyValue>]  ;
        ) --> lSuccess
Return

Returns .T. if the translation for a key could be defined/reset otherwise .F.

Description

NOTE: This function exists for compatibility reasons only. It uses ASCII codes and keyboard scan codes to identify a key. The scan codes can lead to serious problems, so it is strongly recommended not to use SetKxlat().

Use #define constants from XBTSCAN.CH for the parameters since they include both, the ASCII code and the keyboard scan code.

When no parameters are specified all previous key translations are reset. To disable a key pass Chr(255)+Chr(255) or -1 for parameter <cNewKeyValue>.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.