MajSlayer420 Posted March 12, 2007 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
PaulIA Posted March 12, 2007 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
MajSlayer420 Posted March 12, 2007 Author Posted March 12, 2007 Is there a way to reset/clear the editbox so it willl continue to output data? Thanks, MS420
NELyon Posted March 12, 2007 Posted March 12, 2007 Take a look at If...Then, StringLen and GUICtrlSetData.
Moderators SmOke_N Posted March 12, 2007 Moderators 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.
lyledg Posted July 31, 2007 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
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