SummaryBand'label cannot display right position,
way1,dynamic create:
for i :=0 to 9 do
begin
lLabelFix[i]:=TppLabel.Create(Application);
if i<=2 then
lLabelFix[i].Band := lReport.HeaderBand
else
lLabelFix[i].Band := lReport.SummaryBand;
end;
lLabelFix[3].Text:='passing by :';
lLabelFix[3].spLeft:=lDBText[StringListNameDBFild.Count-1].spLeft+lDBText
[StringListNameDBFild.Count-1].spWidth-100;
//lLabelFix[3].spTop:=80;
//lLabelFix[3].Band:=lReport.SummaryBand;
lLabelFix[3].Band:=lReport.Summary;
lLabelFix[3].SendToBack;
lLabelFix[3].spWidth:=50;
way2 create by static :
put ppReport1 on form then add a lable on ppReport1'summaryBand with
lable .Text:='ccc';
both way1 and way2 lable cannot display on summaryband (the bottom of
records) ,it display may on detailb and with some letters convered by
records.
why ?and how to correct it ?
--- posted by geoForum on http://delphi.newswhat.com
for i :=0 to 9 do
begin
lLabelFix[i]:=TppLabel.Create(Application);
if i<=2 then
lLabelFix[i].Band := lReport.HeaderBand
else
lLabelFix[i].Band := lReport.SummaryBand;
end;
lLabelFix[3].Text:='passing by :';
lLabelFix[3].spLeft:=lDBText[StringListNameDBFild.Count-1].spLeft+lDBText
[StringListNameDBFild.Count-1].spWidth-100;
//lLabelFix[3].spTop:=80;
//lLabelFix[3].Band:=lReport.SummaryBand;
lLabelFix[3].Band:=lReport.Summary;
lLabelFix[3].SendToBack;
lLabelFix[3].spWidth:=50;
way2 create by static :
put ppReport1 on form then add a lable on ppReport1'summaryBand with
lable .Text:='ccc';
both way1 and way2 lable cannot display on summaryband (the bottom of
records) ,it display may on detailb and with some letters convered by
records.
why ?and how to correct it ?
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.
Comments
For future reference we prefer you use your real name when posting to these
newsgroups.
Which version of ReportBuilder are you using? If you take an empty report,
enable the summary band and add a label to that band, it is not showing up
in the proper band? Try placing shapes inside each band with their
ParentHeight and ParentWidth properties set to True to see the actual
boundaries of them as they print.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com