[lazarus] How to scroll TMemo control in code
hernan.et at pg.com
hernan.et at pg.com
Mon Apr 7 18:52:04 EDT 2003
Can anyone apply this patch for TMemo? The purpose of this patch is to speed up
inserting of text in TMemo control. The changes are basically on TMemoStrings.
It baypasses sending the new text to FMemo, directly sending to the interface
via a call to CNSendMessage. I also added LM_InsertText case switch in
gtkObject.inc under IntSendMessage3.
Here is the patch.
(See attached file: memostrings_patch.txt)(See attached file:
gtkobject_inc_path.txt)
Regards,
Yoyong
Internet Mail Message
Received from host:
svcr-216-37-230-2.dsl.svcr.epix.net
[216.37.230.2]
From: "Marc Weustink" <marc.weustink at cuperus.nl> on 04/03/2003 10:55 AM GMT
"Marc Weustink" To: lazarus at miraclec.com
<marc.weustink at cuperus.nl> Cc: (bcc: Yoyong Hernan-ET/PGI)
Subject: RE: [lazarus] How to scroll TMemo
control in code
04/03/2003 06:55 PM
Please respond to
lazarus at miraclec.com
+ From: Mattias Gaertner [mailto:nc-gaertnma at netcologne.de]
+
+ On Wed, 2 Apr 2003 17:52:02 +0800
+ hernan.et at pg.com wrote:
+
+ > Mattias,
+ >
+ > Please give me more details and I will try to implement it.
+
+ Marcs idea of writing a TStrings descendent, that is Text based instead of
+ lines looks very promising for this. Let's call it TStringText.
+ TMemoStrings should then become a descendent of TStringText.
+ If the TMemo is then still not fast enough, we can add the
+ callback and the two new interface functions.
Who's going to implement it ?
Marc
_________________________________________________________________
To unsubscribe: mail lazarus-request at miraclec.com with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00025.bin
Type: application/octet-stream
Size: 4611 bytes
Desc: "Text - character set unknown"
Url : http://localhost/pipermail/lazarus/attachments/20030407/367f4ca3/bin00025.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00024.bin
Type: application/octet-stream
Size: 451 bytes
Desc: "Text - character set unknown"
Url : http://localhost/pipermail/lazarus/attachments/20030407/367f4ca3/bin00024.bin
More information about the Lazarus
mailing list