<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
on osx qtx64, fpc&lazarus svn<br>
wordwarp := False;<br>
ScrollBars := ssVertical;<br>
When I use "memo1.line.add(); " memo scroll to last line. I'm using
this code for fbadmin -> output<br>
<br>
<br>
<div class="moz-cite-prefix">On 12.05.2015 18:18, John Landmesser
wrote:<br>
</div>
<blockquote cite="mid:555219E2.6070604@gmx.de" type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div class="moz-text-html" lang="x-unicode">
<div style="font-family: Verdana;font-size: 12.0px;">
<div>for windows this code works ok, but no success for Linux,
GTK:</div>
<div> </div>
<div> (* Memo2 ans Ende scrollen *)<br>
{$IFDEF LINUX}</div>
<div> // that doesn't work:<br>
Memo2.SelStart:=Length(Memo2.lines.Text);<br>
Memo2.VertScrollBar.Position:=10000;<br>
{$ELSE }</div>
<div> // thats ok on windows<br>
SendMessage(Memo2.Handle, WM_VSCROLL, SB_BOTTOM, 0);<br>
{$ENDIF}</div>
<div> </div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding:
10px 0 10px 10px; border-left:2px solid #C3D9E5;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;">Lazarus 1.5 r48256
FPC 2.6.4 x86_64-linux-gtk 2<br>
<br>
another question:<br>
How does this mailing list know to which question i post
an answer?<br>
<br>
My first post was placed as an answer to "IDE / Editor
macros" from Graeme Geldenhuys?<br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
<br>
</body>
</html>