JoeCool Posted April 1, 2005 Posted April 1, 2005 (edited) No real one so there's a silly debugger ;-) Or how to be dangerous while playing with adlib funcs ... Of course u have to put that dumb ctrl in your application but ... :-) #include <GuiConstants.au3> #include <date.au3> func close() adlibDisable( ) exit endfunc func debug() $str = _NowCalc() & @CRLF $str = $str & "loop " & $loop & @CRLF guiCtrlSetData ( $mlTxtdebug, $str ) endfunc Opt("GUIOnEventMode", 1) guiCreate(":-)", 220, 220, 200, 200 ) guiSetOnEvent($GUI_EVENT_CLOSE, "close") $mlTxtdebug = guiCtrlCreateEdit("",10, 10, 200, 200 ) adlibEnable ( "debug", 500 ) guiSetState(@SW_SHOW) $loop = 0 while 1 sleep(800) $loop = $loop + 1 wend adlibDisable( ) exit Edited April 1, 2005 by JoeCool
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now