is it possible to use Value instead of text for memo ?

edited 10:51AM in FastReport 4.0
Hi,
I used to change memo text using this code:
var
  Memo: TfrxMemoView;
begin
  Memo := frxReport1.FindObject('Memo1') as TfrxMemoView;
  Memo.Text := 'any data';
  frxReport1.ShowReport;

But when I tried to use value nothing was set, the memo does not get affected.
Memo.value := 45.7;

I did not able to find any information about value in the documents so I dont know why it is not working ?

Thanks

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 10:51AM
    no you cannot the value property of a tfrxmemoview is only available after the memos expressions have been
    processed and they only contain the value of the last expression processed.
  • edited 10:51AM
    Many thanks gordk
  • edited 10:51AM
    try
    memo1.memo.text:='47.5';
    

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.