[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DATA
 oReport   Its TReport object container.
 aTotal    An array of numeric totals, one for each report column.
 bGroup    A codeblock which holds the group expression.
 bHeader   A codeblock that returns the header of the group.
 bFooter   A codeblock that returns the footer of the group.
 bHeadFont A TFont object to use to print the group header.
 bFootFont A TFont object to use to print the group footer.
 cValue    It keeps the latest group evaluated expression.
 nCounter
 lEject    If eject is to be performed on each group change.

 METHODS
 New       Method constructor: creates a new TRGroup object.

   TRGroup::New( bGroup, bHeader, bFooter, bFont, lEject, oReport )   --> Self

   Constructor method.

   Most of the following parameters are just the values to be kept
   in the object DATAs.

   bGroup        A codeblock with the group expression.
   bHeader       A codeblock that returns the header of the group.
   bFooter       A codeblock that returns the footer of the group.
   bFont         The TFont object to use for both bHeadFont and bFootFont.
   lEject        If eject is to be performed on each group change.
   oReport       The TReport object container.

 Reset     Resets the accumulated total value of all aTotal to 0.
   TRGroup::Reset()   --> nil
   Resets the accumulated total value of all aTotal to 0.

 Header    Prints the header of the group.
   TRGroup::Header( nRow )  --> nil
   Prints the header of the group.
   nRow           The device row where start printing.


 Footer    Prints the footer of the group.
   TRGroup::Footer( nRow )  --> nil
   Prints the footer of the group.
   nRow           The device row where start printing.

 Total     Prints the totals of the group.
   TRGroup::Total( nRow )  --> nil
   Prints the totals of the group.
   nRow           The device row where start printing.

 HeaderHeight  Returns the height of the group header.
   TRGroup::HeaderHeight()   --> nHeaderHeight
   Returns the height of the group header.

 FooterHeight  Returns the height of the group footer.
   TRGroup::FooterHeight()   --> nFooterHeight
   Returns the height of the group footer.

 Evaluate      Calculates the group expression
   TRGroup::Evaluate()  --> cValue
   Calculates the group expression

 Check         Checks if the group condition has changed
   TRGroup::Check()  --> lYesNo
   Checks if the group condition has changed





This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson