markj Posted April 12, 2006 Share Posted April 12, 2006 HelloI 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)) Link to comment Share on other sites More sharing options...
CyberSlug Posted April 12, 2006 Share Posted April 12, 2006 http://www.autoitscript.com/forum/index.ph...6&hl=autoscroll#Include <GuiEdit.au3>_GUICtrlEditScroll($h_edit, $i_direct);Another possibilityControlSend("WinTitle","",$editReference,"^{End}") Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
markj Posted April 12, 2006 Author Share Posted April 12, 2006 erm, i dont quite get where i'd put these snippits - im new sorry Link to comment Share on other sites More sharing options...
CyberSlug Posted April 12, 2006 Share Posted April 12, 2006 #Include <GuiEdit.au3> ;put near very top of scriptYou 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! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now