Announcement

Collapse
No announcement yet.

Scroll Textbox to the end

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

  • 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

  • #2
    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

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

    Comment

    Working...
    X