Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

how to put label at the end of records and not bottom by dynamic ways?

edited January 2006 in General
lLabelFix[3].Text:='user';
lLabelFix[3].spLeft:=lDBText[StringListNameDBFild.Count-1].spLeft+lDBText
[StringListNameDBFild.Count-1].spWidth-100;
lLabelFix[3].Band:=ppSummaryBand1;//ppFooterBand1;
lLabelFix[3].SendToBack;
lLabelFix[3].spWidth:=50;

lLabelFix[i] is create by :

for i :=0 to 9 do
begin
lLabelFix[i]:=TppLabel.Create(RkFrm);
if i<=2 then
begin
lLabelFix[i].Band := ppHeaderBand1;
lLabelFix[i].Caption:='';
end
else
begin
lLabelFix[i].Band := ppSummaryBand1;//ppSummaryBand1;
lLabelFix[i].Caption:='';
end;
end;

now question is when lLabelFix[3].Band:=ppSummaryBand1;
lLabelFix[3].text display on the detailband and covered by recorders

when lLabelFix[3].Band:=ppFooterBand1;
lLabelFix[3].text dislay on the bottom of a paper ,

how can i display it at the end of recorders and not the bottom of paper.



--- posted by geoForum on http://delphi.newswhat.com

Comments

This discussion has been closed.