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
/
GUICtrlDelete.au3
< prev
next >
Wrap
Text File
|
2004-09-29
|
394b
|
17 lines
#include <GUIConstants.au3>
GUICreate ( "My GUI delete control", 200,200,800,200)
$date=GUICtrlCreateDate ("1953/04/25", 10,10,185,20 )
$del=GUICtrlCreateButton("Delete control", 50,50,70,20 )
GUISetState ()
; Run the GUI until the dialog is closed
Do
$msg = GUIGetMsg()
if $msg = $del then
GUICtrlDelete($date)
GUICtrlDelete($del)
endif
Until $msg = $GUI_EVENT_CLOSE