Sign in to follow this  
Followers 0
Tellblom

Clear content of GUICtrlCreateEdit

6 posts in this topic

Hi,

I using a GUICtrlCreateEdit as a log output. It seems like it sometimes crashes the application after a while when to much rows are written.

The thing I need is to see the last 20 lines, nothing more. Is this possible to do ? Can i clear the content of the editbox? Shall I use another controle?

/Martin

Share this post


Link to post
Share on other sites



why not dump the log output to a .txt?

Share this post


Link to post
Share on other sites

We like to see it up in a window to see that the process does not hang

Share this post


Link to post
Share on other sites

Tellblom not sure what do you want to do exactly but it seems you need

Guictrlsetdata($Edit,"")

It will work like Charm. :mellow:

Share this post


Link to post
Share on other sites

Thanks I will try that

Share this post


Link to post
Share on other sites

Also check out _GuiCtrlEdit_SetLimitText in the help file. I had a problem with

when the limit was reached.

Share this post


Link to post
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
Sign in to follow this  
Followers 0