Announcement

Collapse
No announcement yet.

Scroll Textbox to the end

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Borje Hagsten
    replied
    If to set and scroll the caret into view, maybe something like this:
    Code:
      LOCAL tLen AS LONG
      tLen = SendMessage(hEdit, %WM_GETTEXTLENGTH, 0, 0)
      SendMessage hEdit, %EM_SETSEL, tLen, tLen
      SendMessage hEdit, %EM_SCROLLCARET, 0, 0

    ------------------

    Leave a comment:


  • Maurice de Laat
    started a topic Scroll Textbox to the end

    Scroll Textbox to the end

    Can somebody explain to me what message I need to send to a textbox
    to let it scroll to the very end?

    TIA
Working...
X