Z
zikao419
Unregistered / Unconfirmed
GUEST, unregistred user!
for j:=1 to frmpandianbiao.ADOQuery2.RecordCount do
begin
TQRLabel.Create(self).Name:='myqlabel'+inttostr(j); //调试的时候提示没有定义
with Tqrlabel(findcomponent('myqlabel'+inttostr(j))) do
begin
parent:=ColumnHeaderBand1;
left:=170+(i-1)*20;
top:=5;
caption:=ADOQuery2.FieldList.Names[j];
//Tqrlabel(findcomponent('myqlabel'+inttostr(i))).
end;
end;
快帮帮我吧,小弟不胜感激,只有这么一点分了
begin
TQRLabel.Create(self).Name:='myqlabel'+inttostr(j); //调试的时候提示没有定义
with Tqrlabel(findcomponent('myqlabel'+inttostr(j))) do
begin
parent:=ColumnHeaderBand1;
left:=170+(i-1)*20;
top:=5;
caption:=ADOQuery2.FieldList.Names[j];
//Tqrlabel(findcomponent('myqlabel'+inttostr(i))).
end;
end;
快帮帮我吧,小弟不胜感激,只有这么一点分了