Q
qzbob
Unregistered / Unconfirmed
GUEST, unregistred user!
[]
procedure TForm1.ppDBText1Print(Sender: TObject);
begin
if trim(ppDBText1.Text)='' then
begin
if trim(ppDBText5.Text)='' then
begin
ppLine6.Visible:=false;
ppLine7.Visible:=false;
end
else
begin
if trim(ppDBText5.Text)='t' then
begin
ppLine6.Visible:=true;
ppLine7.Visible:=false;
end
else
begin
ppLine6.Visible:=false;
ppLine7.Visible:=true;
end;
end;
end
else
begin
if trim(ppDBText5.Text)='' then
begin
ppLine6.Visible:=true;
ppLine7.Visible:=true;
ppDBText1.Visible:=true;
ppDBText6.Visible:=false;
end
else
begin
if trim(ppDBText5.Text)='z' then
begin
ppLine6.Visible:=false;
ppLine7.Visible:=false;
ppDBText1.Visible:=true;
ppDBText6.Visible:=false;
end
else
begin
if trim(ppDBText5.Text)='x' then
begin
ppLine6.Visible:=false;
ppLine7.Visible:=false;
ppDBText1.Visible:=false;
ppDBText6.Visible:=true;
end;
end;
end;
end;
end;
[8D]
procedure TForm1.ppDBText1Print(Sender: TObject);
begin
if trim(ppDBText1.Text)='' then
begin
if trim(ppDBText5.Text)='' then
begin
ppLine6.Visible:=false;
ppLine7.Visible:=false;
end
else
begin
if trim(ppDBText5.Text)='t' then
begin
ppLine6.Visible:=true;
ppLine7.Visible:=false;
end
else
begin
ppLine6.Visible:=false;
ppLine7.Visible:=true;
end;
end;
end
else
begin
if trim(ppDBText5.Text)='' then
begin
ppLine6.Visible:=true;
ppLine7.Visible:=true;
ppDBText1.Visible:=true;
ppDBText6.Visible:=false;
end
else
begin
if trim(ppDBText5.Text)='z' then
begin
ppLine6.Visible:=false;
ppLine7.Visible:=false;
ppDBText1.Visible:=true;
ppDBText6.Visible:=false;
end
else
begin
if trim(ppDBText5.Text)='x' then
begin
ppLine6.Visible:=false;
ppLine7.Visible:=false;
ppDBText1.Visible:=false;
ppDBText6.Visible:=true;
end;
end;
end;
end;
end;
[8D]