Jump to content

Recommended Posts

Posted

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <EditConstants.au3>
GUICreate("My GUI edit", 300, 200)
$myedit = GUICtrlCreateEdit("" & @CRLF, 10, 10, 280, 160, $ES_AUTOVSCROLL + $WS_VSCROLL)
GUISetState()
GUICtrlSetData($myedit, "First line" & @CRLF & "Second line" & @CRLF & "Third line", 1)
GUICtrlCreateLabel("GUICtrlSetData data count = " & Round(StringLen(GUICtrlRead($myedit))/1024, 3) & " Kbytes", 10, 175)
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE

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
×
×
  • Create New...