Function Reference


_GUICtrlEdit_AppendText

Append text

#include <GuiEdit.au3>
_GUICtrlEdit_AppendText ( $hWnd, $sText )

Parameters

$hWnd Control ID/Handle to the control
$sText String to append

Return Value

None.

Related

_GUICtrlEdit_GetText, _GUICtrlEdit_InsertText, _GUICtrlEdit_SetText

Example

#include <GUIConstantsEx.au3>
#include <GuiEdit.au3>

Example()

Func Example()
        Local $idEdit

        ; Create GUI
        GUICreate("Edit Append Text", 400, 300)
        $idEdit = GUICtrlCreateEdit("This is a test" & @CRLF & "Another Line", 2, 2, 394, 268)
        GUISetState(@SW_SHOW)

        _GUICtrlEdit_AppendText($idEdit, @CRLF & "Append to the end?")

        ; Loop until the user exits.
        Do
        Until GUIGetMsg() = $GUI_EVENT_CLOSE
        GUIDelete()
EndFunc   ;==>Example