How to call Memo.clear

edited 10:50PM in FastScript
Hi all!
Could anyone tell me how to call memo1.clear from my script?

I have a Memo1:TMemo and Script:TfsScript...
Script := TfsScript.Create(Self);
  Script.SyntaxType := 'PascalScript';
  Script.Parent := fsGlobalUnit;

I have the codeline "Memo1.Clear;" in my script.
I get "undeclared identifier" on "Clear"..

Is there any way to call Clear method directly without using TfsScript.AddMethod with a procedure like MemClear();?
procedure MemClear;



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.