How to change a Memo.text
I try to change a value of a memo.... [img]style_emoticons/<#EMO_DIR#>/cool.gif" style="vertical-align:middle" emoid="B)" border="0" alt="cool.gif" />
I've a picture with a OnClick-Event at a fastreport page.
At this event I want to read out any values of a ini-File to show them in a memo.text
To read out the ini-file isn't a problem.[/img][img]style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="" border="0" alt="laugh.gif" />
Also to assign the value to the memo is running[/img]
At the Fast-Report-Page there isn't any effects shown. It shows the old value [img]style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" /> At an other test I use also[/img]
It changes the values at the report page but an access violation is also shown.
Don't give a better result.
Who know an solution to change values of a memo.text, memo.hint and a memo.descrition while the preview and by using somethink like a button-press
Thank in advance " border="0" alt="laugh.gif" />" alt=">" />
Memo3.Text := Ini.ReadString('MEMO_'+dlgComboBox01_cmbSelection.Text,'Memo3.Text','');
ShowMessage(Memo3.Text);
<<== Answer is OKAt the Fast-Report-Page there isn't any effects shown. It shows the old value [img]style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" /> At an other test I use also[/img]
Report.ShowReport;
// <== access violation 4002E866 + 00A rtl70.bpl , TList.GetItemsIt changes the values at the report page but an access violation is also shown.
TfrxMemoView(Memo3).Text:='Hello World';
TfrxMemoView(ReportTitle1.FindObject('Memo3')).Text:='Hallo Du da';
Don't give a better result.
Who know an solution to change values of a memo.text, memo.hint and a memo.descrition while the preview and by using somethink like a button-press
Thank in advance " border="0" alt="laugh.gif" />" alt=">" />
Comments
See the Interactive report demo.
[img]style_emoticons/<#EMO_DIR#>/huh.gif" style="vertical-align:middle" emoid=":huh:" border="0" alt="huh.gif" /> ==> At the demo you called, I've the same effect. OK, you are able to change the Value of the[/img]sender but not of an other memo then the sender. This is my probleme to solve.
to
Modified := false;
It's running now..
Solution:
It's used for changing the report-language dynamicly
Thanks for your interest and support
Best regard.....