<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi both,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks for the quick responses :)</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Richard</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 25 April 2014 18:46, Howard Page-Clark <span dir="ltr"><<a href="mailto:hdpc@talktalk.net" target="_blank">hdpc@talktalk.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 25/04/2014 18:30, Richard Mace wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have some code that populates a TMemo via TMemo.Text := 'lots of lines<br>
of text..' and need a cross platform way of programatically forcing the<br>
TMemo to display the last entry as if the user has had manually scrolled<br>
to the bottom.<br>
</blockquote>
<br></div>
You can also use<br>
<br>
Memo1.SelStart:=Length(Memo1.<u></u>Text);<br>
<br>
Howard<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
--<br>
______________________________<u></u>_________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank">Lazarus@lists.lazarus.<u></u>freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.<u></u>freepascal.org/mailman/<u></u>listinfo/lazarus</a><br>
</div></div></blockquote></div><br></div>