home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 February
/
PCWorld_2006-02_cd.bin
/
software
/
vyzkuste
/
triky
/
triky.exe
/
autoit-v3-setup.exe
/
Examples
/
GUICtrlCreateEdit.au3
< prev
next >
Wrap
Text File
|
2005-01-15
|
445b
|
18 lines
#include <GUIConstants.au3>
GUICreate("My GUI edit") ; will create a dialog box that when displayed is centered
$myedit=GUICtrlCreateEdit ("First line"& @CRLF, 176,32,121,97,$ES_AUTOVSCROLL+$WS_VSCROLL)
GUISetState ()
; will be append dont' forget 3rd parameter
GUICtrlSetData ($myedit, "Second line",1)
; Run the GUI until the dialog is closed
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend