Re: [Lazarus] Howto scrolldown a TMemo on Linux by code?

2015-05-20 Thread FreeMan
on osx qtx64, fpclazarus svn wordwarp := False; ScrollBars := ssVertical; When I use memo1.line.add(); memo scroll to last line. I'm using this code for fbadmin - output On 12.05.2015 18:18, John Landmesser wrote: for windows this code works ok, but no success for Linux, GTK: (* Memo2

Re: [Lazarus] Howto scrolldown a TMemo on Linux by code?

2015-05-12 Thread Graeme Geldenhuys
On 2015-05-12 16:18, John Landmesser wrote: My first post was placed as an answer to IDE / Editor macros from Graeme Geldenhuys? Because you replied to an existing mailing list email and then changed the Subject line. This doesn't change the hierarchy of messages - as you noticed. Add the

[Lazarus] Howto scrolldown a TMemo on Linux by code?

2015-05-12 Thread John Landmesser
for windows this code works ok, but no success for Linux, GTK: (* Memo2 ans Ende scrollen *) {IFDEF LINUX} // that doesnt work: Memo2.SelStart:=Length(Memo2.lines.Text); Memo2.VertScrollBar.Position:=1; {ELSE } // thats ok on windows SendMessage(Memo2.Handle,

[Lazarus] Howto scrolldown a TMemo on Linux by code?

2015-05-12 Thread John Landmesser
for windows this code works ok, but no success for Linux, GTK: (* Memo2 ans Ende scrollen *) {$IFDEF LINUX} // that doesn't work: Memo2.SelStart:=Length(Memo2.lines.Text); Memo2.VertScrollBar.Position:=1; {$ELSE } // thats ok on windows