Jump to content

Recommended Posts

Posted

if you wait for this to fill the edit... the autoscroll works

#include <GUIConstants.au3>


GUICreate("my GUI")

$edit = GUICtrlCreateEdit("",10,40,330,150,BitOR($ES_AUTOVSCROLL, $WS_VSCROLL, $ES_READONLY))


GUISetState()



While 1
    $msg = GUIGetMsg()
    
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
        
    EndSelect
    GUICtrlSetData($edit, "this is a test---", 1)
    sleep(500)
    
Wend

if i understand your "?"

8)

NEWHeader1.png

Posted

hmm some how i've gotta have it execute this everytime i get another line of info?

_GUICtrlEditScroll ($edit, $SB_LINEDOWN)

you could check the line count, if it changes then do a scroll, check that function in the help, there's also pagedown and others.

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Posted (edited)

there's no need, i know how to insert the code, it dosn't work

I even put it here,

If $msg = $butt Then
      $ret = TCPSend($socket, GUICtrlRead($input))
      _GUICtrlEditScroll ($edit, $SB_LINEDOWN)
    If @ERROR Then
    MsgBox(4096, "Error", "Could not send", 0)
    EndIf
Edited by Jabberwock

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
×
×
  • Create New...