Problem With Tfrxline
Hi!
I have next problem with TfrxLine component:
In report runtime I need to draw some arrows which are depend on my report values. Sometimes I need to draw arrow, sometimes not.
So, I put two frmLine components on a band, make OnBeforePrint eventhandler like this:
ln1.visible := false;
if <qryTe."flag_ref">=2 then
begin
ln1.ArrowEnd :=True;
ln1.ArrowStart := False;
ln1.Visible := True;
end;
So, ln1.Visible works perfect - line draws and dissaperas exactly when I need it, but when I change ArrowEnd/Start properties - nothings happen - I still have just a line without arrow.
What I do wrong?
I have next problem with TfrxLine component:
In report runtime I need to draw some arrows which are depend on my report values. Sometimes I need to draw arrow, sometimes not.
So, I put two frmLine components on a band, make OnBeforePrint eventhandler like this:
ln1.visible := false;
if <qryTe."flag_ref">=2 then
begin
ln1.ArrowEnd :=True;
ln1.ArrowStart := False;
ln1.Visible := True;
end;
So, ln1.Visible works perfect - line draws and dissaperas exactly when I need it, but when I change ArrowEnd/Start properties - nothings happen - I still have just a line without arrow.
What I do wrong?
Комментарии