Hi!
I'm new on this forum, and I'm searching for help. let's say I have code like this ...
AutoIt
#include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1_1 = GUICreate("Form1", 564, 99, 192, 124) GUISetBkColor(0x000000) $Label1 = GUICtrlCreateLabel("Test", 4, 76, 34, 17) GUICtrlSetColor(-1, 0x00FF00) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### AdlibRegister("test", 2000) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Func test() for $i = 0 to 556 Step 1 GUICtrlSetPos($Label1 , $i, 76, 34, 17) Next EndFunc
And when the label is moving around (because I want kinda an effect of moving string) then I can't even close the program because it's like freezed because of function.
So there is my question... is there a possibility to make that function just do a job and other works great with it ? As you can see I tried Adlibregister but it's not working how I wanted.
Thanks !
__________________________
Sorry for my english.