Sign in to follow this  
Followers 0
madflame991

GuiCtrlSetStyle vs GuiCtrlSetBkColor

2 posts in this topic

#1 ·  Posted (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 by madflame991

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0