MajSlayer420 Posted March 12, 2007 Share Posted March 12, 2007 Hello I have a edit box in my program to log events. After about 5 hours or so , My edit box stops updating, It stops printing the log data in the editbox. Is this a known problem? and is there a fix? Thanks, MajSlayer420 Link to comment Share on other sites More sharing options...
PaulIA Posted March 12, 2007 Share Posted March 12, 2007 Hello I have a edit box in my program to log events.After about 5 hours or so , My edit box stops updating, It stops printing the log data in the editbox.Is this a known problem? and is there a fix?Thanks, MajSlayer420There is a fixed limit on how much data an edit box can hold. About 32K if I remember correctly. It's a Windows thing, not AutoIt. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
MajSlayer420 Posted March 12, 2007 Author Share Posted March 12, 2007 Is there a way to reset/clear the editbox so it willl continue to output data? Thanks, MS420 Link to comment Share on other sites More sharing options...
NELyon Posted March 12, 2007 Share Posted March 12, 2007 Take a look at If...Then, StringLen and GUICtrlSetData. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 12, 2007 Moderators Share Posted March 12, 2007 GUICtrlSetLimit() will fix your issue. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
lyledg Posted July 31, 2007 Share Posted July 31, 2007 I have used this before ..try this... Global $EditBufSize = 281474976710656, $EM_LIMITTEXT = 0x00c5 $EDIT = GUICtrlCreateEdit("Your settings go here") GUICtrlRecvMsg($EDIT, $EM_LIMITTEXT, $EditBufSize, 0) This should give your edit control a big enough buffer 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