C5_CLEAR TYPEAHEAD

 CLEAR TYPEAHEAD
 Empty the keyboard buffer
------------------------------------------------------------------------------
 Syntax

     CLEAR TYPEAHEAD

 Description

     CLEAR TYPEAHEAD is a keyboard command that clears all pending keys from
     the Clipper keyboard buffer.  This is useful in user interface
     procedures or user-defined functions to guarantee that keys processed
     from the keyboard buffer are appropriate to the current activity and not
     pending from a previous activity.  User functions called by ACHOICE()
     and DBEDIT() are especially sensitive to such keys.

     Note that both the SET TYPEAHEAD and KEYBOARD commands also clear the
     keyboard buffer.

 Examples

     .  This example empties the keyboard buffer before invoking
        DBEDIT(), guaranteeing that any pending keys will not be executed:

        CLEAR TYPEAHEAD
        DBEDIT()

 Files   Library is CLIPPER.LIB.

See Also: KEYBOARD SET TYPEAHEAD



4 responses to “C5_CLEAR TYPEAHEAD

  1. Pingback: C5 UI General | Viva Clipper !

  2. Pingback: C5_SET TYPEAHEAD | Viva Clipper !

  3. Pingback: C5 User Interface | Viva Clipper !

  4. Pingback: C5 Commands | 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.