Altering Objects
I have a MemoView its name 'SAF'. I want to alter it only.
1- What wrong with this code it seems to has no effect?!
2- How to change Engine.CurX of one band only?
procedure MasterData1OnBeforePrint(Sender: TfrxComponent);
begin
if Sender.Name ='SAF' then SAF.left := SAF.left - SAF.width;
end;
1- What wrong with this code it seems to has no effect?!
2- How to change Engine.CurX of one band only?
procedure MasterData1OnBeforePrint(Sender: TfrxComponent);
begin
if Sender.Name ='SAF' then SAF.left := SAF.left - SAF.width;
end;
Comments
In MasterData1OnBeforePrint(Sender: TfrxComponent) event - sender can be only MasterData1.
In SAFOnBeforePrint(Sender: TfrxComponent) event - sender can be only SAF. Try so: