Change line visibility from OnPreviewClick event
Hi. I try to change line (TfrxLineView) visibility from OnPreviewClick event. I need to give to users possibility changing line visibility in prepaired report.
From demo (Handle previews click) I try use set Modified := True, but it does not work.
It's there any solution?
Thank you, Pavel
From demo (Handle previews click) I try use set Modified := True, but it does not work.
It's there any solution?
procedure Memo33OnPreviewClick(Sender: TfrxView; Button: TMouseButton; Shift: Integer; var Modified: Boolean);
begin
  Line3.Visible := not Line3.Visible;
  Modified := True;
end;
Thank you, Pavel
Comments
Do you try change visible property? (hide any object from report code in OnPreviewClick event)