matrix200 Posted December 19, 2006 Share Posted December 19, 2006 Having heard of the speed improvements of the betas I have tried my UPS monitor program with it and found I am getting a flicker on the labels when using GuiCtrlSetBkColor on them Here is a small script to show the problem. That was tested on beta 13 and on stable. The stable version has no such problem CODE #include <GUIConstants.au3> Global $Label1 Func Update() GuiCtrlSetBkColor($Label1 , 0x00ff00) EndFunc #Region ### START Koda GUI section ### Form= $Form2 = GUICreate("AForm2", 413, 305, 228, 135) $Label1 = GUICtrlCreateLabel("", 64, 40, 124, 124) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### AdlibEnable("Update",1000) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Link to comment Share on other sites More sharing options...
GaryFrost Posted December 19, 2006 Share Posted December 19, 2006 Having heard of the speed improvements of the betas I have tried my UPS monitor program with it and found I am getting a flicker on the labels when using GuiCtrlSetBkColor on themHere is a small script to show the problem.That was tested on beta 13 and on stable.The stable version has no such problemNo problem with 3.2.1.14 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
matrix200 Posted December 21, 2006 Author Share Posted December 21, 2006 gafrost first of all I am sorry for not replyng to it earlier. I have been sick lately and don't come near the computer as much. Now back to the problem I have checked it again with rc2 that is out on the beta page and saw the problem again. Now the problem is not 100% reproduced unfortunately , but sometimes it still happens. Sometimes the flicker starts only after the program has been run for a while. I did evade it by changing my script so it will only update background color when there is a change , but I still believe there is something there. Link to comment Share on other sites More sharing options...
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