我的程序界面上包括以下控件:TfrDesigner是必须的,要不然就是没反应
type
TForm1 = class(TForm)
frReport1: TfrReport;
frDesigner1: TfrDesigner;
btnOpen: TBitBtn;
BitBtn2: TBitBtn;
OpenDialog1: TOpenDialog;
frRichObject1: TfrRichObject;
frCheckBoxObject1: TfrCheckBoxObject;
frShapeObject1: TfrShapeObject;
frBarCodeObject1: TfrBarCodeObject;
frChartObject1: TfrChartObject;
frRoundRectObject1: TfrRoundRectObject;
frCrossObject1: TfrCrossObject;
frCompositeReport1: TfrCompositeReport;
frDialogControls1: TfrDialogControls;
frADOComponents1: TfrADOComponents;
XPManifest1: TXPManifest;
设计报表:
frReport1.LoadFromFile(FileName);
frReport1.DesignReport;