L LZL88 Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-15 #1 就象 ppReport1 里的右鍵中的 ReportDesigner 這樣調用出錯 ppReport1.ReportDesigner.ShowModal; 謝謝
W wellknow Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-15 #2 //应该是如此的: //显示设计窗体 procedure TfrmReport.btDesignerClick(Sender: TObject); begin ppDesigner1.Show; end; //当然,ppDesigner1要关联到ppReport1, 在第一个use 里可能是如此的: uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ppComm, ppRelatv, ppDB, ppDBPipe, ppProd, ppClass, ppReport, ppViewr, ppEndUsr, ppBands, ppCache, ppPrnabl, ppStrtch, ppSubRpt, ppCtrls, StdCtrls, Mask, Buttons, ExtCtrls, daIDE, daADO, raIDE;
//应该是如此的: //显示设计窗体 procedure TfrmReport.btDesignerClick(Sender: TObject); begin ppDesigner1.Show; end; //当然,ppDesigner1要关联到ppReport1, 在第一个use 里可能是如此的: uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ppComm, ppRelatv, ppDB, ppDBPipe, ppProd, ppClass, ppReport, ppViewr, ppEndUsr, ppBands, ppCache, ppPrnabl, ppStrtch, ppSubRpt, ppCtrls, StdCtrls, Mask, Buttons, ExtCtrls, daIDE, daADO, raIDE;