Jump to content
Sign in to follow this  

Auto Scroll In Edit Box Please

Recommended Posts


I have an edit box which will be the output of some logging. When the edit box fills up it enables the scroll bar. But it doesnt automatically keep up with the new text (like a dos prompt would)

Any ideas on how?

here's the edit box:

$lable_cmd = GUICtrlCreateEdit($time & " Torex Retail SolveSE Console Started", 460, 42, 450, 440, BitOR($WS_VSCROLL, $WS_HSCROLL, $ES_AUTOVSCROLL, $ES_MULTILINE, $ES_READONLY))

Share this post

Link to post
Share on other sites

#Include <GuiEdit.au3> ;put near very top of script

You can call GUICtrlEditScroll any time that append more info to the log. Could be easy or hard depending on how you are doing the logging. (It might be hard if you are using StdoutRead, for example...)

You could post the code where you update $lable_cmd if this still isn't clear....

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...