delphidelphi-7

autoscrolling memo in delphi


Does delphi contain a component that allows auto scroll text loaded from db, like in news sites?

Tt's for a delphi 7 application and requires a vertical scrolling.


Solution

  • None of those solutions for scrolling worked for me in the RichEdit memo. Using Delphi 2010 + w7. But this one works perfectly:

    After every Lines.Add('...') this follows:

    SendMessage(RichEditMemo.Handle, WM_VSCROLL, SB_LINEDOWN, 0);
    

    Found in: http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_10120212.html