Search the Wiki

Viewing 304 to 306 of 408 items

How To…Align Memo Bottoms

Question “How can I align the bottoms of two stretching memos?” Solution This example contains a report with two stretching Memos inside a Region. Region.KeepTogether is set to True. The Memo OnDrawCommandCreate event is used to obtain a reference to the DrawCommand object that is created each time the object generates on the page. The Detail  Full Article…

0

Displaying Boolean Field Values

Formatting boolean data fields with ReportBuilder can be performed using either of the following techniques: Specify a value for the TppDBText.DisplayFormat property. Example: DBText1.DisplayFormat := ‘True;False’; Specify a value for the TField.DisplayValues property of the dataset. Example: TField1.DisplayValues := ‘Yes;No;’ Note: If you have TField.DisplayValues assigned, please do not assign DBText.DisplayFormat.

0

Currency Formatting

Currently when formatting currency display formats, ReportBuilder internally calls FloatToStrF with a ffCurrency paramter. This honors the Windows currency settings. There are two ways to override this behavior: Create a Descendant of TppDisplayFormat See ppDisplayFormat.pas. You can easily create a descendant of TppDisplayFormat and specify that your TmyDisplayFormat be used by ReportBuilder to perform formatting.  Full Article…

0