xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

HB_SetKeyGet()

Retrieves code blocks associated with a key.

Syntax

HB_SetKeyGet( <nInkeyCode> , ;
             [@<bCondition>] ) --> bCodeblock

Arguments

<nInkeyCode>
This is a numeric value representing the key code of the key to retrieve associated code blocks for. The key code is returned by the Inkey() function. To specify values for this parameter use #define constants from the file INKEY.CH.
@<bCondition>
If specified, this parameter must be passed by reference. It gets assigned the code block defined with the third parameter of the SetKey() function.

Return

The function returns the code block associated with <nInkeyCode> using the SetKey() function. The optional second SetKey() code block is retrieved when <bCondition> is passed by reference.

Info

See also:Inkey(), RestSetkey(), SaveSetkey(), SetKey()
Category: Environment functions , Keyboard functions , xHarbour extensions
Source:rtl\setkey.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe