Jump to content
Sign in to follow this  
hempi23

Max lines/characters for multiline edit control?

Recommended Posts

hempi23

Hi,

I wrote a script that logs messages into a multi-line edit control:

CODE
$GUI_E_LogWindow = GUICtrlCreateEdit ( "", 10, 90, 480 , 170, BitOr($ES_MULTILINE,$ES_WANTRETURN, $WS_VSCROLL, $ES_AUTOVSCROLL, $ES_AUTOHSCROLL,$ES_READONLY))

Now I realized, that i cannot add any more lines/characters to the edit box. When I copy the displayed text into TestPad I can see:

- number of lines = 500

- file size of 30000 (ANSI/PC)

- total characters = 29002

Is there a limitation for the use of GUICtrlCreateEdit as multiline control? I couldnt see any limits for it in the help file.

Thanx!

Robert

Edited by hempi23

Share this post


Link to post
Share on other sites
supersonic

Hi...

Good question! Anyone any idea?

Is there an option to increase limits?

Greets,

-supersonic.

Share this post


Link to post
Share on other sites
supersonic

Hi!

Of course you're right! :-)

Shame on me...

Look at _GUICtrlEdit_SetLimitText()

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.