[BUG]: Stack overflow when accessing TMemo.Text

edited August 2005 in FastScript
Hi,

using FastScript 1.8, if I try to access "TMemo.Text" I get a "stack overflow" error.
Accessing the memo text using "TMemo.Lines.Text" works.

The stack overflow sometimes results in bad crashes afterwards, so maybe it would be nice to fix this ;)

click here to download an example application

Any workaround for this?

Thanks a lot,

Daniel

Comments

  • edited August 2005
    There is no TMemo.Text property. You should include fs_iformsrtti into your uses list to access TMemo correctly.
  • edited 1:08AM
    AlexTZ wrote:
    There is no TMemo.Text property. You should include fs_iformsrtti into your uses list to access TMemo correctly.
    Thanks Alex, with "fs_iformsrtti" there is a reasonable error-msg explaining this instead of the stack-overflow. Nice!

    Daniel

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.