rave中如何设置页边距(100分)

  • 主题发起人 主题发起人 myduk
  • 开始时间 开始时间
M

myduk

Unregistered / Unconfirmed
GUEST, unregistred user!
我使用delphi7.0的rave制作报表,客户要求双面打印,而且在左端留出装订线。这样奇数页左面留空就要多,偶数页右面留空要多。请问这个问题如何解决?能不能在程序中动态调整页边距?
 
用Region 左边预留就ok了。
 
to:zsy146
程序中怎么用Region?
 
region就像delphi中的panel一样,你把它托放到页面上,然后可以把一些band等托放到其上。
 
如果有需要发个样子给你看看
 
to:zsy146
我明白,你说的是在rave设计器中的情况,可是怎么在程序中设置这个页边距呢?让它在奇数页时左边空白多,而偶数页时,右边空白多呢?
 
另外如何在rave设计器中得到当前的页码?
 
问题已经解决了(如下英文所示),不过希望得到其他的答案.
以及如何在rave设计器中得到当前的页码?
Exercise: Different Odd/Even Page
The way to accomplish this would be:
· Make a Section on the first Page definition that is set for the "Odd"
Page margins.
For example, set the properties Left = 1.0, Width = 7.0, Top = 0.5 and Height = 10.0.
· Complete all of your normal definitions for Page 1 within this section.
· Create a "New Report Page"
for the second Page definition
· Drop a Section on the Page 2 and set the top and left margins for the even Page settings.
For example, set the Left property = 0.5 and Top property = 0.5.
· Set the Mirror property of Page 2 Section to point to the Section on Page 1.
· Set the GotoPage property of the second Page to point to the first Page.
· Set the GotoPage property of the first Page to point to the second Page.
· Set the GotoMode property of BOTH Pages to gmGotoNotDone setting.
The gmGotoNotDone setting of the GotoMode property will activate the GotoPage property after
each physical Page has printed but only when the current Page definition has not finished (for
example, EOF - End Of File). So, at the end of physical Page 1, Page 2 definition will be called.
At the end of physical Page 2, Page 1 definition will be called. This loop will continue until one of
RAVE Reference Manual the Pages is completed. If control would need to be passed to another Page at this point, use the
Report components PageList property to select the next Page.
 
没有人回答我的新问题么?
1.如何在rave设计器中得到当前的页码?
2.如何在报表运行中动态改变字体的样式?
 
后退
顶部