Units in QReport and Other summary(关于QReport中的Unit)
2006-04-28 21:00
471 查看
The following delare somewhat type in which unit;
TQRBandType : QrPrntr;
TPageOrientation: Printers;
TQRCustomBand is the super class of TQRBand and TQRGroup.
if you put controls of other page that is not the'QReport' page in a quickrep control.when preview you can't see the controls except the QReport's controls.That is say you can put a panel in the quickrep but can see the panel in the preview form.if you save the preview then the same:you only save the QReport's controls.
-------------------------------------------------
用qreport画表格线的问题:
1.通常在QuickReport下要劃格子是在Band.Frame.DrawTop等
2.通常在QuickReport下無資料要劃空白列的格子線是用
onNeedData。如果是Master-Detail也可在Detail-Band的
用OnNeedData為之。
不過明顯的,這不是你要的。
你要在此QRLabel劃格子。
1.如是外框格子,可用QRShape
2.如是框內的話,可用字的底線。不過線會有不對齊的問題
3.如2.可否用動態建元件方式加QRShape之方式為之。
//不過這好像很難,有時你又要考慮兩行三行及字多時要
// 動態改字大小的問題。
//初想之下,太複雜了。沒試過。不敢講。
//只是把想的結果告訴你。說不定,你照這樣作可以成功。
//不過已經很小的QRLabel再畫格子可能會很擠,不好看。
为了画竖线,将qrshape.shape的值设为qrsRightAndLeft;
另外,在使用qrshape的时候,有个问题,如果用一个height为40的qrshape框一个qrdbtext的话,当qrdbtext多行显示的时候,没有办法事先确定qrshape的height。
非常规手段:将height的值设大一点,比如100。
TQRBandType : QrPrntr;
TPageOrientation: Printers;
TQRCustomBand is the super class of TQRBand and TQRGroup.
if you put controls of other page that is not the'QReport' page in a quickrep control.when preview you can't see the controls except the QReport's controls.That is say you can put a panel in the quickrep but can see the panel in the preview form.if you save the preview then the same:you only save the QReport's controls.
-------------------------------------------------
用qreport画表格线的问题:
1.通常在QuickReport下要劃格子是在Band.Frame.DrawTop等
2.通常在QuickReport下無資料要劃空白列的格子線是用
onNeedData。如果是Master-Detail也可在Detail-Band的
用OnNeedData為之。
不過明顯的,這不是你要的。
你要在此QRLabel劃格子。
1.如是外框格子,可用QRShape
2.如是框內的話,可用字的底線。不過線會有不對齊的問題
3.如2.可否用動態建元件方式加QRShape之方式為之。
//不過這好像很難,有時你又要考慮兩行三行及字多時要
// 動態改字大小的問題。
//初想之下,太複雜了。沒試過。不敢講。
//只是把想的結果告訴你。說不定,你照這樣作可以成功。
//不過已經很小的QRLabel再畫格子可能會很擠,不好看。
为了画竖线,将qrshape.shape的值设为qrsRightAndLeft;
另外,在使用qrshape的时候,有个问题,如果用一个height为40的qrshape框一个qrdbtext的话,当qrdbtext多行显示的时候,没有办法事先确定qrshape的height。
非常规手段:将height的值设大一点,比如100。
相关文章推荐
- Implementing the Repository and Unit of Work Patterns in an ASP.NET MVC Application (9 of 10)
- Defense in Depth using OSSEC and other free tools
- (ZT)OFTEN USED API's IN REGISTRATION SCHEMES AND OTHER
- Code Coverage and Unit Test in SonarQube
- Unit Testing in Xcode 4 – use OCUnit and SenTest instead of GHUnit
- iOS:Class Foo is implemented in both MyApp and OtherApp. One of the two will be used. Which one is u
- Developing Workflows in VS: Part 7 - Summary and Final Thoughts
- Understanding H.264 num_units_in_tick and time_scale
- Understanding and Using rem Units in CSS
- How to enable syntax highlighting and other options in VIM
- 关于专利APPROACH FOR RESOLVING OCCLUSIONS, SPLITS AND MERGES IN VIDEO IMAGES
- 关于错误信息【schedMgr: Error processing calendar profile document(NoteID: *) in database mail/*.nsf: Cannot find user in Name and Addr
- Summary of Critical and Exploitable iOS Vulnerabilities in 2016
- Unique Indexes in MySQL and Other Databases
- Meter and pixel units in a box2d game - LibGDX
- IOS项目为什么加入静态数据库需要加入-ObjC and -all-load in Other Linker Flag
- Characteristics and Key figures In Report Painter
- Sharepoint2010-the scrollbar disappears in chrome and other browsers
- The report is used to find enhancement and badi in sap.
- The unit impulse and step functions in Discrete-time