C5_GETDOSETKEY

 GETDOSETKEY()
 Process SET KEY during GET editing
------------------------------------------------------------------------------
 Syntax

     GETDOSETKEY(<bKeyBlock>, <oGet>) --> NIL

 Arguments

     <oGet> is a reference to the current Get object.

     <bKeyBlock> is the code block to execute.

 Returns

     GETDOSETKEY() always returns NIL.

 Description

     GETDOSETKEY() is a function that executes a SET KEY code block,
     preserving the context of the passed Get object.

     Note that the procedure name and line number passed to the SET KEY block
     are based on the most recent call to READMODAL().

 Notes

     .  If a CLEAR GETS occurs in the SET KEY code, Get:exitState is
        set to GE_ESCAPE.  In the standard system this cancels the current
        Get object processing and terminates READMODAL().

 Examples

     .  The following example determines if the last key pressed,
        nKey, has a SET KEY associated with it.  If it does, then GETDOSETKEY
        is called to execute that block on the current GET.

        IF ((bKeyBlock := SETKEY (nKey)) == NIL)
           GETDOSETKEY (bKeyBlock, oGet)
        ENDIF

 Files   Library is CLIPPER.LIB, source file is Getsys.prg.

See Also: GETAPPLYKEY() GETPOSTVALID() GETPREVALID()

 

One response to “C5_GETDOSETKEY

  1. Pingback: C5 UI – GET System | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.