ActiveReports 14
ActiveReports 14 User Guide / Samples and Walkthroughs / Samples / Samples / API / Section Reports / Cross Section Controls
In This Topic
    Cross Section Controls
    In This Topic

    This CrossSectionControls sample displays the invoice report of a company in detail. This sample uses the CrossSectionBox and CrossSectionLine controls to demonstrate the lines and display the Invoice report in a tabular form. It includes a ViewerForm with three tabs, three Viewer controls and an Invoice report to highlight several report features. Run the project and click the tab to see these features in action.

    Sample

    Visual Basic.NET

    ..\Samples14\API\Section\CrossSectionControls\VB.NET

    C#

    ..\Samples14\API\Section\CrossSectionControls\C#

    Details

    When you run this sample, a form with three different tab options and each tab option displaying a report in a Viewer control is displayed. Click any tab option at the bottom of the form to display the selected tab feature applied to the report in a Viewer control. Select from the following tab options. 

    Cross Section Controls
    Draws table style gridlines easily through multiple sections without any gap.

    Detail RepeatToFill
    The Detail RepeatToFill tab has the RepeatToFill property set to True. This ensures that the formatting (alternating purple and white rows and CrossSection controls) fills space as needed to keep the same layout between pages.

    GroupFooter PrintAtBottom
    The GroupFooter section has the PrintAtBottom property set to True. This pulls the GroupFooter section to the bottom of the page, just above the PageFooter section.

    Note: To run this sample, you must have access to the Nwind.mdb. The NWIND.mdb file can be downloaded from GitHub: ..\Samples14\Data\NWIND.mdb.

     

    See Also