Jump to content

GUICtrlSetColor for Buttons?


fisofo
 Share

Recommended Posts

Not sure if it's even possible, but I was wondering if there is some way to color the text inside a button as it appears that GUICtrlSetColor does not have the capability.

I did a bit of searching and I haven't found anything useful yet... :whistle:

Thanks!

Link to comment
Share on other sites

Not sure if it's even possible, but I was wondering if there is some way to color the text inside a button as it appears that GUICtrlSetColor does not have the capability.

I did a bit of searching and I haven't found anything useful yet... :whistle:

Thanks!

True, GUICtrlSetColor does not have the capability.

well i know you are aware of XSkin

but gafrost made this for colored buttons also

http://www.autoitscript.com/forum/index.ph...st&p=175895

8)

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

  • Moderators

Not sure if it's even possible, but I was wondering if there is some way to color the text inside a button as it appears that GUICtrlSetColor does not have the capability.

I did a bit of searching and I haven't found anything useful yet... :whistle:

Thanks!

Colored Labels / Pics (GUICtrlCreatePic) / and http://www.autoitscript.com/forum/index.ph...c=25077&hl= are really your only current options.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

holy toledo! ;)

Thanks guys, that's definitely what i'm looking for... i'm just surprised it took so much coding to do it. gafrost is a machine.

And I do know about XSkin, thanks Valuator! I'm looking forward to using it actually, i'm just still getting used to basic GUI's... and the prospect of skinning has me a bit nervous at this point :whistle:

Anyhoo, i'll look into it soon!

Link to comment
Share on other sites

Follow-up question... is there an alternative way to disable a button than using $GUI_DISABLE? I ask because although $GUI_DISABLE works just fine, I'd like the text in the button to be more visible while disabled.

Link to comment
Share on other sites

Follow-up question... is there an alternative way to disable a button than using $GUI_DISABLE? I ask because although $GUI_DISABLE works just fine, I'd like the text in the button to be more visible while disabled.

Update script http://www.autoitscript.com/forum/index.ph...st&p=175895

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

you could just not put a case for it.... and then say, when an inputbox has like more then 5 letters, add a case... :whistle:

would that work?

probably not, if changed the udf to have custom colors for disable buttons also

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...