Printing from Stringlist

Hello,
i have a Stringlist :

header
string for headline
footer
string for footer
title
string for Reporttitle
cat_count---number of categories

--categorie_1
----product_count
number of products of categorie 1
----product_1_1
----product_2_1
----product_n_1
--categorie_2
----product_count
number of products of categorie 2
----product_1_2
----product_2_2
----product_n_2
--categorie_n

How can i set fonts from categorie and products in Delphi ?
How do i print this (Groups, Master-Detail) or how ??

Robert

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 10:00PM
    look in the demos folder at the printstringlist demo.
  • gordk wrote: »
    look in the demos folder at the printstringlist demo.

    Hello gordk,
    How can i set fonts/ fontsize etc. for some lines of stringgrid
    (if line = "categorie" then fontsize := 12 else if line = "products" then fontsize := 10)

    Robert
  • gpigpi
    edited 10:00PM
    Try to use band's OnBeforePrint event

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.