HB_SetKeyGet()

Determine a set-key code block & condition-block

Syntax

HB_SETKEYGET( <nKey> [, <bConditionByRef> ] )

Arguments

<anKey> is an numeric key value

<bConditionByRef> is an optional return-parameter

Returns

Current assigned action-block

Description

The HB_SetKeyGet() function returns the current code-block assigned to a key, and optionally assignes the condition-block to the return-parameter
Examples
      local bOldF10, bOldF10Cond
      bOldF10 := HB_SetKeyGet( K_F10, @bOldF10Cond )
      ... // some other processing
      SetKey( K_F10, bOldF10, bOldF10Cond )
Tests
      See test code above
Status

Ready

Compliance

HB_SETKEYGET() is a new function and hence not CA-Clipper compliant.

Files

Library is rtl

See Also