| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Evaluates a code block associated with a key.
HB_SetKeyCheck( <nInkey> , ;
[<param1>], ;
[<param2>], ;
[<param3>] ) --> lIsSetkeyBlock
The function returns .T. (true) when the key <nInkey> is associated with a code block and the code block is evaluated, otherwise .F. (false) is returned.
The function tests if a key is associated with a code block. Key/code block associations are defined with the SetKey() function. When the key <nInkey> is associated with a code block, HB_SetKeyCheck() evaluates this code block and optionally passes up to three parameters on to it.
| See also: | Eval(), Inkey(), RestSetkey(), SaveSetkey(), SetKey() |
| Category: | Environment functions , Keyboard functions , xHarbour extensions |
| Source: | rtl\setkey.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com