Changing on report preview

edited 10:11PM in FastReport 3.0
Hello.

This is big trouble for me, can you help me ?

I have TfrxMemoView on Report and conecting event:

procedure MemoOnPreviewClick(Sender: TfrxView; Button: TMouseButton; Shift: Integer; var Modified: Boolean);
begin
TfrxMemoView(Sender).Text := CountSomething;
Modified := True;
end;

CountSomething is function witch give a some result.

It works when I click on Prewiev on this MemoView. At this moment everything is OK.

Problem is:

I want execute this procedure when I click on other Memo on report. How Can I do this ??

In other words. I have 2 MemoView on report (memo1, memo2). I want do change memo2.text when i click on memo1. Is it possible ?
When I make direct memo2.text := 'something' in OnPreviewClick event memo1 this isn't work.

Best regards:

Jaromir Będkowski

Comments

  • edited 10:11PM
    I have the same problem, it`s possible ?

    Thanx
  • edited 10:11PM
    uxer wrote: »
    I have the same problem, it`s possible ?

    Thanx

    Hi ,
    In designer's script code you cant do that. You can do that in Delphi .

Leave a Comment