home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / CLIPPER / PDRD1 / WHATSNEW.TXT < prev   
Text File  |  1992-12-01  |  2KB  |  65 lines

  1. Release 1.1:    November 29, 1992
  2. =================================
  3.  
  4. Summary of changes:
  5. -------------------
  6. 1.  Added two new configurable attributes:  R_LREXIT and
  7. R_KEYVALIDBLOCK.
  8.  
  9. 2.  Added a new example: #6.
  10.  
  11. 3.  Corrected the file CR.BAT.
  12.  
  13. 4.  Corrected the file DEMO.DOC.
  14.  
  15.  
  16. Description of changes:
  17. -----------------------
  18. 1.  Added another configurable attribute, R_LREXIT.  This attribute
  19. defines a logical value. When it is TRUE, the LEFT and RIGHT arrows
  20. behave like UP and DOWN if the cursor is in the leftmost or rightmost
  21. positon.  Defaults to TRUE.
  22.  
  23. Note:  If READEXIT() is TRUE, the the LEFT and RIGHT keys also serve
  24. as ADread() exit keys.
  25.  
  26. Note:  If the LEFT key is pressed, and the cursor moves to a previous
  27. Get, the cursor initially goes to the last column position.
  28.  
  29. See DEMO.PRG and Example #1 in READ.DOC.
  30.  
  31.  
  32. 2.  Added another configurable attribute, R_KEYVALIDBLOCK.  This
  33. attribute points to a code block that validates every key press
  34. before it is entered into the Get buffer.  It is an enhancement to
  35. the PICTURE clause.  For example, if you are editing a phone number
  36. and you are limiting the area codes to "703", "202" and "301" only.
  37. You cannot do that with a PICTURE clause.  You can use a VALID clause,
  38. but the validation is done after pressing the Enter key.  With the
  39. R_KEYVALIDBLOCK attribute, you can validate the first three positions
  40. much like the PICTURE clause validates every key stroke, that is, as
  41. soon as they are pressed.
  42.  
  43. See DEMO.PRG and Example #2 in DEMO.DOC.
  44.  
  45.  
  46. 3.  Added Example #6 in Read.doc.  This example demonstrates how to
  47. validate the READ as a whole.  With ADread(), you can now do three
  48. types of validation:
  49.  
  50.         a.  Key-wise validation, as described in item #2 above.
  51.         b.  Get-wise validation, with the VALID clause.
  52.         c.  Read-wise validation, as illustrated in Example #6.
  53.  
  54.  
  55. 4.  Corrected CR.BAT.  There was a minor error in the batch file
  56. included in the original PDREAD.ZIP package.
  57.  
  58. 5. Corrected Read.Doc.  The corections are needed because:
  59.  
  60.         a. The structure of the return value of ADread() was
  61.             erroneously described in the original package.
  62.  
  63.         b. ADr_varput() was erroneously described.
  64.  
  65.