home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / xbase / library / clipper / keyboard / spacebar / readme.doc next >
Encoding:
Text File  |  1991-07-10  |  1.6 KB  |  30 lines

  1.      UPLOADED ON 7/10/91 FROM VINCENT SIMONE COMPUSERVE ID 72740,417
  2.  
  3.      Compile with /n /w /a
  4.      
  5.      This get reader will allow the user to hit the space bar to pan thru
  6.      each get.  This can be used if you want the user to respond to a get
  7.      with either yes or no, pan thru the days of the week, months in the
  8.      year or anything else that a list is required.  Just include the
  9.      space.ch for the command.  Also, make sure that each selection is
  10.      separated by a comma, eg "ITEM1,ITEM2".
  11.  
  12.      the static array arr is a multi-dimmensional array that will hold
  13.      the variable name and then each selection item.  The reason why
  14.      the arr array is multi-dimmensional is if you wanted to nest gets.
  15.      the first position is the variable name that is going to be used for
  16.      selection, and the remaining positions are the items that can be 
  17.      selected.  The local variable gvar is used to see what position
  18.      in the array the variable you are getting is in.  This is accomplished
  19.      by doing an ascan equal to oGet:name, which is the get variable name.
  20.  
  21.      Each time you press the spacebar the new value is stuffed into the
  22.      get buffer, updated and displayed.  Another feature is if you typed
  23.      the first letter of the item you want to select, you will automatically
  24.      be moved to it.
  25.  
  26.      Well that is it for now.  I have tested this function a few times and
  27.      it seems to work ok. If you have any questions or suggestions I welcome 
  28.      them.  If you are asking yourself why I wrote this, well I just wanted
  29.      to fool around with the get system.
  30.