Jump to content
Sign in to follow this  
joakim

GUICtrlCreateEdit and GUICtrlSetData

Recommended Posts

joakim

I have a big program that I want to display verbose information during execution. That works, but after a certain amount of data is shown inside $myctredit, it will not write any more data to the control (program continues though). Below is the variable, the function and a sample use of the function. Am I running into a limitation of some sort?

$myctredit = GUICtrlCreateEdit("Start text" & @crlf, 0, 280, 803, 220, $ES_AUTOVSCROLL + $WS_VSCROLL)

Func _DisplayInfo($DegugInfo)
GUICtrlSetData($myctredit, $DegugInfo, 1)
EndFunc

_DisplayInfo("bla bla bla." & @CRLF)

Joakim

Share this post


Link to post
Share on other sites
AdmiralAlkex

You can get the limit with _GUICtrlEdit_GetLimitText() and change it with _GUICtrlEdit_SetLimitText().

Also that's not how you should set multiple styles. See Setting Styles in the wiki.

Share this post


Link to post
Share on other sites
joakim

Thank you so much. It certainly did it.

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  

×