madflame991 Posted September 20, 2010 Share Posted September 20, 2010 (edited) I can't use GuiCtrlSetStyle AND GuiCtrlSetBkColor for the same button. One will cancel the others effect. Any suggestions? I'm assuming it's a strange bug, I did a search and found this article, but with 0 replies and I reposted here because it was in the wrong forum... Oh, and if it's one of those unfixable bugs, is there any workaround? GUICreate('GUI',120,50) GUICtrlCreateButton('Button',10,10,100,30) GUICtrlSetBkColor(-1,0x004653) GUICtrlSetStyle(-1,0x2100) GUISetState() While 1 Sleep(1000) WEnd Edited September 20, 2010 by madflame991 Game Game Gadget! - read about indie games, gadgets, chiptunes and demoscenesAssembly-like language interpreter and custom machine emulatorSuper Mario Screen Mate - official website or autoit forum pageCogut - Puzzle Game + Editor like sokoban and others Link to comment Share on other sites More sharing options...
PsaltyDS Posted September 20, 2010 Share Posted September 20, 2010 It's a known bug you can find by searching the BugTracker. It won't be fixed any time soon because it involves major changes to the whole GUI section of the AutoIt interpreter. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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