Okay, this may not apply to all Linux distribution. But when I upgraded my Mandrake…
It's the same bug as on RedHat 9.0. I posted it two times before.
Rainer Hamann

Mailing lists / lazarus / 2003-04
8 messages · 5 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Okay, this may not apply to all Linux distribution. But when I upgraded my Mandrake…
It's the same bug as on RedHat 9.0. I posted it two times before.
Rainer Hamann
I have discovered that due to the LM_AppendText message, we have bypassed the normal…
This was my fault. Sorry.
I have fixed it, and added some code to add needed line ends.
The current TMemo should be improved.
Okay, I remember that we need to use TStringText instead of TMemoStrings. I will try to implement it.
Great.
Mattias
Hi all,
A report was sent in the list that TMemo is not working properly, I do have the same problem when using TMemo at design time and set Lines property though the problem is not there when creating the Lines property dynamically.
I also have problems when setting the word wrap property, I managed to corrent it.
I have one problem though, I cannot make the horizontal scroll bar to work with TMemo, any ideas.
By the way the attached file is the patch. Note that I added {$linklib crypt} and {$linklib dl} in the lazarus.pp since I am using Firebird. I understand that there was a change in the interbase files in the cvs that address this library inclusion. Also this is my first time to use diff based on Mattias' instruction.
Regards,
Yoyong Hernan
(See attached file: laz.diff.gz)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00026.bin
Type: application/octet-stream
Size: 3678 bytes
Desc: "laz.diff.gz"
Url : http://localhost/pipermail/lazarus/attachments/20030414/ad9324a6/bin00026.bin
To Mattias,
I have discovered that due to the LM_AppendText message, we have bypassed the normal processing of the text in Memo component thereby all text appears only into say Memo1.Lines[0]. I have just finished doing cvs and noticed that we disabled LM_AppendText. Also for normal programs where we are not inserting long lines of text into TMemo control this is not a problem but as my application needs to write possibly thousands of lines into TMemo I am back again with my previous problem. Do I need to create a TMemo descendant just satisfy my needs or are we going to try to improve TMemo so that inserting text can be made faster?
Okay, I remember that we need to use TStringText instead of TMemoStrings. I will try to implement it.
Regards,
Yoyong
Internet Mail Message
Received from host:
svcr-216-37-230-2.dsl.svcr.epix.net
[216.37.230.2]
From: Mattias Gaertner on 04/15/2003 09:06 AM GMT
Mattias Gaertner To:
Cc: (bcc: Yoyong Hernan-ET/PGI)
Subject: Re: [lazarus] Patch for TMemo
04/15/2003 05:06 PM
Please respond to
What problem?
I also have problems when setting the word wrap property, I managed to corrent it.
Fixed.
I have one problem though, I cannot make the horizontal scroll bar to work with TMemo, any ideas.
No. But I have the same problem.
{$linklib crypt} was added to idecomp.pp.Is {$linklib dl} needed, too?
Mattias
_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
On Tue, 15 Apr 2003 08:33:58 +0800 What problem? Fixed. No. But I have the same problem.…
No.
Michael.
A report was sent in the list that TMemo is not working properly, I do have the same…
What problem?
I also have problems when setting the word wrap property, I managed to corrent it.
Fixed.
I have one problem though, I cannot make the horizontal scroll bar to work with TMemo, any ideas.
No. But I have the same problem.
{$linklib crypt} was added to idecomp.pp.Is {$linklib dl} needed, too?
Mattias
A report was sent in the list that TMemo is not working properly, I do have the same…
If you are talking about GTK, the problem is, that horizontal scrollbar is not properly implemented for the underlying widget in GTK+ 1.x, so there is little we can do.
Situation may be better in GTK 2.x.
Michal
Okay, this may not apply to all Linux distribution. But when I upgraded my Mandrake (actually fresh install) from 9.0 to 9.1 it looks like everythings was just fine. When I added TMemo into the form during design time and add some text using the Lines property via the object inspector things where not working as expected. The text I added was somehow concatenated into a single line. I hope you understand what I mean. Kindly try it using the IDE during design time.
Maybe this only applies to few installation.
Regards,
Yoyong
Internet Mail Message
Received from host:
svcr-216-37-230-2.dsl.svcr.epix.net
[216.37.230.2]
From: Mattias Gaertner on 04/15/2003 09:06 AM GMT
Mattias Gaertner To:
Cc: (bcc: Yoyong Hernan-ET/PGI)
Subject: Re: [lazarus] Patch for TMemo
04/15/2003 05:06 PM
Please respond to
What problem?
I also have problems when setting the word wrap property, I managed to corrent it.
Fixed.
I have one problem though, I cannot make the horizontal scroll bar to work with TMemo, any ideas.
No. But I have the same problem.
{$linklib crypt} was added to idecomp.pp.Is {$linklib dl} needed, too?
Mattias
_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives