Jump to content

_GUICtrlEdit_AppendText limited to 5185 lines?


gadelat
 Share

Recommended Posts

Try this:

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Include <GuiEdit.au3>
$gui = GUICreate("TEST",440,400)
$input = GUICtrlCreateEdit("",2,2,400,365,BitOR($ES_WANTRETURN, $WS_VSCROLL))
GUISetState()
For $i = 1 to 100000
    _GUICtrlEdit_AppendText($input, $i&@CRLF)
    ConsoleWrite($i&@CRLF)
Next
While 1
    Sleep(40)
WEnd

Why it ends at line 5185 with last one cut? I need more...

Consolewrite shows all lines...

Edited by gadelat
Link to comment
Share on other sites

You have to turn off text limit :)

_GUICtrlEdit_SetLimitText($input,0)

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

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...