解决即结贴....

解决方案 »

  1.   

    自己顶!!
    没有人用过 PrintDBGridEH 来打印的吗??如何在每页打印页号啊???急急...
      

  2.   

    Use TPageColontitle to specify parameters of page footer and page header of TPrintDBGridEh component.
    TPageColontitle is used in the PageFooter and PageHeader property of TPrintDBGridEh.
    In LeftText, CenterText or RightText properties your can specify macros for next values:&[Page] Substitutes current page
    &[ShortDate] Substitutes current date using DateToStr function.
    &[Date] Substitutes current date using DateToStr function.
    &[LongDate] Substitutes current date using LongDateFormat.
    &[Time] Substitutes current date using TimeToStr function.
    &[Pages]  Substitutes the count of pages. Presence of this macro slows preview of the first page.EhLib Software
      

  3.   

    PrintDBGridEh.PageFooter.CenterText.Text:='第&[Page]页 共&[Pages]页'