
Component Name: TmWebScrollTable
        Author: Mats Asplund
      Creation: 2003-03-20
       Version: 1.0
   Description: A component that generates HTML-tables with
                a scrollable bodypart.
        E-mail: masprod@telia.com
          Site: http://go.to/masdp
  Legal issues: All rights reserved 2003 by Mats Asplund

Usage:
  This software is provided 'as-is', without any express or
  implied warranty.  In no event will the author be held liable
  for any  damages arising from the use of this software.

  Permission is granted to anyone to use this software for any
  purpose, including commercial applications, and to alter it
  and redistribute it freely, subject to the following
  restrictions:

  1. The origin of this software must not be misrepresented,
     you must not claim that you wrote the original software.
     If you use this software in a product, an acknowledgment
     in the product documentation would be appreciated but is
     not required.

  2. Altered source versions must be plainly marked as such, and
     must not be misrepresented as being the original software.

  3. This notice may not be removed or altered from any source
     distribution.

  4. If you decide to use this software in any of your applications.
     Send me an EMail and tell me about it.

Quick Reference:
  TmWebScrollTable inherits from TComponent.
  TWebScrollTable inherits from TDSTableProducer.

  Key-Properties:
    WebScrollTable:  Here you can get access to the underlying propertys for
                     TWebScrollTable.
    DataSet:         Could be a query, stored procedure or table.

    Put this three files in the same folder:
    IFrameFile:      Filename for the resulting file with one IFrame for the
                     static tableheader, and one for the scrollable tablebody.
    HeaderFile:      Filename for the file containg the tableheader.
    BodyFile:        Filename for the file containg the tablebody.

    Width:           The table width. The header with will be scaled down by
                     ScrollBarOffset since there's no header scrollbar.
    HeaderHeight:    The Header height.
    BodyHeight:      The Body height;
    MarginWidth:     The horizontal table position in the IFrame.
    MarginHeight:    The vertical table position in the IFrame.
    ScrollBarOffset: Use this to get the table header one scrollbar smaller than
                     the body. Default value is 17, but may be browser dependent.

  Key-Events:
    OnFormatCell:    Use this event to further customize your table cells.
                     Note the Header parameter. When true the Header formatting
                     is taking place, if false the Body formatting is taking
                     place. Changes made here can override the basic formatting
                     done by the component.
                     Which is:
                       VAlign left.
                       For the header:
                       Every Row > 0 will be written with white font on white
                       background.
                       For the body:
                       Row 0 will be written with white font on white background.
  Key-Methods:
    Execute: When executing, a HTML-file with two IFrames will be created. One
             for the header and one for the body.
             The Dataset will be closed/opened and the formatted headercontent
             will be written to the HeaderFile.
             The Dataset will be closed/opened once again, and the formatted
             bodycontent will be written to the BodyFile.

