How can I get memo object.

edited 2:20AM in FastScript
Hi,

I try to get memo object but I have a problem.

this is working:

MemoColorObj := TfrxMemoView(Page1.FindObject('Memo2'));

MemoColorObj.Color := $00111111;

but
I need to like that

TfrxMemoView(FindObject('Memo2'));

so I don't need to use "Page1" because I don't know pagename.

and


I try to that but don't work.
_______________________

memo := Report.FindObject('Memo2') as TfrxMemoView;
memo.text := 'test';
________________________

var
x: TfrxComponent;
begin
x := frxReport.Report.FindObject('Memo2');



Thanks in advance.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.