有那位大哥使用过 RBuilder 报表控件的请帮帮小弟吧!(20分)

  • 主题发起人 主题发起人 thebest
  • 开始时间 开始时间
T

thebest

Unregistered / Unconfirmed
GUEST, unregistred user!
[:(!]在打印预览中,我有如下的代码:
ppReport1.deviceType := 'dtScreen' ;
ppViewer1.ZoomPercentage :=50;
ppReport1.PrintToDevices ;
请教大哥,为什么什么也不显示?
 
Youdo
n't need a ppViewer1 component, you just need to add this line in
your TppReport.OnPreviewFormCreate event:
TppViewer(ppReport1.PreviewForm.Viewer).ZoomPercentage :=50;
then
just call
ppReport1.deviceType := 'dtScreen' ;
ppReport1.print;
You can see your report now.

 
后退
顶部