ComponentOne VSFlexGrid 8.0
BeforePageBreak Event

Fired while printing the control to control page breaks.

Syntax

Private Sub VSFlexGrid_BeforePageBreak( ByVal Row As Long, BreakOK As Boolean)

Remarks

This event is fired while the control is being printed to allow control over page breaks.

Set the BreakOK parameter to True to indicate that row number Row should be allowed to print at the top of a page, or set it to False to indicate otherwise. For example, you would set BreakOK to True if Row is a subtotal or a heading row.

The control may be printed with the PrintGrid method or with a VSPrinter control. The advantage of using the VSPrinter control is that it provides print previewing, the ability to integrate many grids and other graphical elements on a single document, and complete control over the printer. The VSPrinter control is available from ComponentOne as a separate product.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback