PrintDBGridEh->SetSubstitutes应该怎么用???
想用PrintDBGridEh来打印表格,标题内容不固定,所以想设置参数来传递。
DELPHI里是这样:
PrintDBGridEh1.SetSubstitutes(['%[Today1]',FormatDateTime('yyyy"年"mm"月"',Now)
但是在BCB里用法完全不一样
TPrintDBGridEh::SetSubstitutes(const TVarRec *,const int)
郁闷了一天了,到底该怎么用??
或者BeforeGridText能不能设置字体,居中还是居左???