JonnyThunder Posted October 15, 2008 Share Posted October 15, 2008 (edited) Hello, I have an edit box which I'm using to output console log information. Whenever new information is added to the edit box, it automatically pings back to the top of the box again. How can I force the scroll bars to the bottom, to display the newest information added. Also, is there any way to disable direct editing of this box? If I use $GUI_DISABLE it turns the box unreadably grey! Any way of disabling the editing while still keeping it white?? Thanks, JT Edited October 15, 2008 by JonnyThunder Link to comment Share on other sites More sharing options...
JonnyThunder Posted October 15, 2008 Author Share Posted October 15, 2008 Ahhh never mind - found it. Used the following (for those who may search for this answer!).... _GUICtrlEdit_Scroll($output_window, $SB_SCROLLCARET) Link to comment Share on other sites More sharing options...
Chapi Posted October 15, 2008 Share Posted October 15, 2008 Ahhh never mind - found it. Used the following (for those who may search for this answer!).... _GUICtrlEdit_Scroll($output_window, $SB_SCROLLCARET) Hi, i have a problem whit this... When i use it like is used in the help the next error is prompt at compilation: C:\Archivos de programa\AutoIt3\Examples\Cliente.au3 (24) : ==> Variable used without being declared.: _GUICtrlEdit_Scroll($Edit1, $SB_SCROLLCARET) _GUICtrlEdit_Scroll($Edit1, ^ ERROR This is mi code: #include <GUIConstants.au3> #include <GUIConstantsEx.au3> #Include <GuiEdit.au3> #include <WindowsConstants.au3> $Edit1 = GUICtrlCreateEdit("", 349, 44, 221, 143, 0x0800 + 0x00200000) _GUICtrlEdit_Scroll($Edit1, $SB_SCROLLCARET) In fact this error its happen to me when i use any constant. I must use the numeric value to replace it, like in the creation of the Edit control... Link to comment Share on other sites More sharing options...
YourSpace Posted October 15, 2008 Share Posted October 15, 2008 you must use htis incude: #include <ScrollBarConstants.au3> 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