Search the Wiki

Viewing 358 to 360 of 408 items

Create Group in Code

TECH TIP: Create a Group in Code Question: “How can I dynamically create a report group at run-time?” Example code: uses ppClass, ppGroup, ppClasUt; function AddGroupToReport(aBreakName: String; aDataPipeline: TppDataPipeline; aReport: TppCustomReport); var lGroup: TppGroup; lGroupBand: TppGroupBand; begin {add group to report} lGroup := TppGroup(ppComponentCreate(aReport, TppGroup)); lGroup.Report := aReport; lGroup.BreakName := aBreakName; lGroup.DataPipeline := aDataPipeline; {add group  Full Article…

0

Calculating Dynamic Height of Detail Band

TECH TIP: Calculation Dynamic Height of Detail Band Sometimes you need to know the stretched height of a dynamically sized detail band after it has printer to perform further logic. This can be done by keeping track of where the report engine currently is on the page and where it was right before that. For example:  Full Article…

0

Calc Object Widths

TECH TIP: Calculating the Widths of Components at Run-Time The example below shows how to calculate the widths of report components and position them horizontally. This example procedure accepts a list of CustomText descendents and positions them flush left, one after the other.  The Left position of the first component is used as the starting  Full Article…

0