Jump to content

Autoscrolling in an edit ***SOLVED***


Recommended Posts

I've looked all over the board, and I can't seem to find a proper way to autoscroll to the bottom of an edit box.

Basically my program adds a lot of lines to an edit box, and you can only scroll down when it's done doing that.

So my question: is there a way to autoscroll to the bottom of it?

I could ofcourse just keep sending {END}'s, but it's not a very elegant solution plus the window will need focus for it to work.

Thanks in advance!

Edited by knight666
Link to comment
Share on other sites

Hey, thanks man, that did the trick. :rolleyes:

I was doing something really dumb by the way:

Func AddMsg($msg)
 GUICtrlSetData($txtLoading, GUICtrlRead($ØY[ÊH   [ÈÕT  [È ][ÝÎ][ÝÈ    [ÈRS   [È ][ÝÎ][ÝÈ    ײ4T2fײgV÷C²ÒgV÷C²fײb33c¶×6rfײ5$Äb¤VæDgVæ

So you've not only fixed my problem, you've also sped things up considerably. (b ")b

_GUICtrlEditLineScroll

Thanks for letting me know its proper usage, where I could find the function and if it actually does what I want it to.
Link to comment
Share on other sites

Thanks for letting me know its proper usage, where I could find the function and if it actually does what I want it to.

You can find it in AutoIt v3 help file, under User Defined Functions and GuiEdit Management. Edited by poisonkiller
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...