**************************** TYPAHEAD.OAC *******************************
*************************************************************************

   The files associated with this call are:
      typahead.c       Source program code 
      typahead.obj     Created by compiling 
      typahead.exe     Created by linking
      typahead.txt     Sample Programmer source
      dbconv.txt       Sample Programmer source to convert a dBASE file. 
      dbconv.cnd       dBASE conversion program that can be called
                       from the Applications menu. 

   This application has two function calls : it allows you to place 
   a character  a small string into the keyboard type ahead buffer,
   it can also place ONE function key at time into the keyboard buffer. 
   Using these two functions it is possible place a combination of characters 
   and function keys into the keyboard buffer (Maximum of 64 Characters).
   This function can only be called from Programmer/Compiler. It could be 
   modified to be used with other facilities by removing the the Boolean
   value being passed back to Open Access. 
   This application can be used to provide a 'clean' way of passing
   key strokes when a programmer application has finished to bring up the 
   applications menu again and starting another program (no annoying
   'End of Macro' message will appear as would happen when using an OA macro).
   It also can be used to resolve problems such as entering a password
   automatically and displaying your own help with the Browse screen. 

!! If an OA "PROBLEM" window appears OA will clear the keyboard buffer
!! and no further command will be executed. 
!! ----- 
!! NOTE: if a number of calls are made to the two functions, 
!!       key stroke calls are executed last in first out. 
!! ----- 
!! NOTE: each function key takes 3 characters.

   The return value from this Language call is a Boolean. 

   Functions included:
     
      TYPECHAR    -  place a character string into the keyboard buffer 
      TYPEFKEY    -  place a function key into the keyboard buffer 


   To Build:
     
      TYPECHAR  - PROGRAMMER  type 301 - 1 parameter 
      TYPEFKEY  - PROGRAMMER  type 301 - 1 parameter 


   To Execute:
       
      TYPECHAR can be called from the Programmer by passing a string or
      string variable.
      
      e.g., RESULT = CALL('TYPECHAR',KEYCHARS)
      
       or   RESULT = (*BOOL) CALL('TYPECHAR',KEYCHARS) when using compiler
  
      TYPEFKEY can be called from the Programmer by passing an integer or 
      integer variable.
      
      e.g., RESULT = CALL('TYPEFKEY',FKEYNUM)
      
       or   RESULT = (*BOOL) CALL('TYPEFKEY',FKEYNUM) when using compiler


      The valid integer values that can be passed to 
      the TYPEFKEY function are:
      
          0   - UNDO
          1   - HELP 
          2   - MENU
          3   - PRINT
          4   - SEARCH
          5   - COPY
          6   - CHANGE
          7   - PASTE
          8   - DESK TOP UTILITIES
          9   - SELECT
         10   - DO
         11   - RETURN
         12   - UP ARROW
         13   - DOWN ARROW
         14   - LEFT ARROW 
         15   - RIGHT ARROW 
         16   - TAB
         17   - BACK TAB

******************************************************************* 
