how to put label at the end of records and not bottom by dynamic ways?
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
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
This discussion has been closed.
Comments
Where are you executing the code below? If possible, please send a small
example I can run on my machine in .zip format to
support@digital-metaphors.com and I'll take a look at it for you.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com