Purpose:
  Delphi's DBGrid control does not wrap text when the contents
  of a text cell are too long to be fully displayed.
  This accompanying Delphi Project overcomes this.

  The application implements a simple survey review form.
  The questions are taken from a standard HSQ-12 health
  status questionnaire (which is copyrighted, I'm sure).

Installation:
  The files are meant to be extracted into a subdirectory
  called TEST, which has a subdirectory called DATA.
  Unzipping the file with a -d option (to preserve the
  directory structure) should do the trick.

  The .INI file has one entry which allows you to change
  the path to the data files.

Notes:
  The trickiest part of this project was discovering the
  necessity of setting the width of the Memo Object BEFORE
  the DrawDataCell handler gets called.

  To see why, comment out the line in the FormActivate event
  handler that resizes the Memo object, namely:

     mmoQuestion.BoundsRect := MyRect;

  Beyond that, the idea is a simple one.  When asked to redraw
  a long text cell, we plop a memo object on top of the grid cell
  and jam the text into the memo object.  TMemo objects have
  a text "wraparound" feature that does the trick.

  After we put the text in the memo object, we resize it to more
  closely fit the text.  This requires that we examine the
  Lines.Count property of the Memo object.

Robert L. White
Compuserve: 76460,3450