? |
拉一个 TdxComponentPrinter dxComponentPrinter1放到form中,
在其中添一个ReportLink dxComponentPrinter1Link1,再是
dxComponentPrinter1Link1->Component = dxDBGrid1;
dxComponentPrinter1Link1->RebuildReport();
dxComponentPrinter1->Preview(1,dxComponentPrinter1Link1);
dxComponentPrinter1Link1->Component = NULL;
|