print or preview

edited 11:03AM in FastReport 3.0
hello

i'd like to have every second row in masterdatadetail background colored (shadow)but only in preview not in print

any idea?

in quickreport i'was used to test it in onbeforeprint event

if QRPrinter.Destination <> qrdmetafile then banddetail.color:=clred else color:=clWhilte

Comments

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.