Help - Search - Members - Calendar
Full Version: Changing on report preview
Fast Reports forum > Fast Reports Products > FastReport 3.0
SunSoft
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
uxer
I have the same problem, it`s possible ?

Thanx
HERBERTS
QUOTE(uxer @ Mar 25 2008, 11:19 PM) *
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 .
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.