[Lazarus] Ok I give up!
Martin
lazarus at mfriebe.de
Sat Mar 2 17:56:10 CET 2013
On 02/03/2013 13:49, appjaws wrote:
> On 02/03/13 12:16, Reinier Olislagers wrote:
>> On 2-3-2013 13:05, appjaws wrote:
>>> Hi,
>>> How do you write the contents of a Memo to a file and read back into a
>>> Memo?
>> Memo1.Lines.SaveToFile
>> Memo1.Lines.LoadFromFile
>
> I tried the following line but I just get an error message :-
> Call.pas(87,17) Error: Illegal qualifier
>
> MemoCallNote.Lines.SaveToFile ('/home/paul/tmpinfo/MyTempFile.txt');
"MemoCallNote.Lines" is a TMemo on your form ( TForm1 )?
The above line of code is in a function or procedure that BELONGS to
TForm1 ?
That is a function or procedure like this
procedure TForm1.somename;
?
If it is in a function or procedure that does NOT have the name of
TForm1 in it, then it will not work.
More information about the Lazarus
mailing list