Jump to content
Sign in to follow this  
Tellblom

Clear content of GUICtrlCreateEdit

Recommended Posts

Tellblom

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
GodForsakenSoul

why not dump the log output to a .txt?

Share this post


Link to post
Share on other sites
Tellblom

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
PortableApps

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
dmob

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.