[DUG] tMemo, Stop updating
Steve Peacocke
steve.peacocke at gmail.com
Wed Aug 1 17:01:00 NZST 2007
On 01/08/07, Jeremy Coulter <vss at vss.co.nz> wrote:
> Actually, if you start looking at the Tmemo code, which uses TMemostrings,
> you will find the begin update actually calls SendMessage(Memo.Handle,
> WM_SETREDRAW, Ord(not Updating), 0); so it is perfectly fine to call Begin
> adn end update on memos.
>
> Jeremy
Thanks Jeremy and others,
Apologies, I was thinking of the objects TMemo and TCustomMemo. The
property "Lines" (not TMemostrings that I can see) is a TStrings
object which does indeed have the BeginUpdate and EndUpdate methods.
I have used these and it works a treat. Thanks.
Steve
--
Steve Peacocke
http://stevepeacocke.blogspot.com/
More information about the Delphi
mailing list