pb memo

My probleme is simple.

I Want that my memo1 is equals to my memo2.

I tryed with memo1.text := memo2.Text
but I have an error : " Undefined symbol "MEMO1.TEXT""

how must I make ?

Comments

  • edited 6:19PM
    Hi!

    The TFRMemoView stores its lines in the property called "Memo". Unfortunately the designer automatically assigns names to TFRMemoViews beginning with Memo... It is easy to mix them. So You should code the following:

    Memo2.Memo:=Memo1.Memo;
  • edited 6:19PM
    i have memo1.memo content with script:
    [sum(table1.field1)]

    but when i write like this:

    memo2.memo := memo1.memo

    i got the script from memo1, not the value from script. so, if i want get the value from script, can you show me the way?

    tia,
    ryan

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.