Jump to content

NormalTextColor Checkbox Property


KenXeiko

Recommended Posts

Hi,

I tried to change the text color of my checkbox with

guiSetProperty(mainGUI["checkbox"][i], "NormalTextColour", tocolor(255, 127, 0)) 

On another topic it says that I'd need to use 'tocolor' for the third argument.

So I did that one, it's supposed to change the color of the checkbox into 'orange' (as seen here), but somehow, the function changed the color into 'pink' instead of 'orange'.

Any idea about this one? #-o

RESOLVED Thanks to MR.S3D for the clue :)

guiSetProperty(mainGUI["checkbox"][i], "NormalTextColour", "FFFF7F00") 

The color is supposed to be:

AARRGGBB -- A = Alpha, R = Red, G = Green, B = Blue 

Regards,

Ken X.

Edited by Guest
Link to comment
Hi,

I tried to change the text color of my checkbox with

guiSetProperty(mainGUI["checkbox"][i], "NormalTextColour", tocolor(255, 127, 0)) 

On another topic it says that I'd need to use 'tocolor' for the third argument.

So I did that one, it's supposed to change the color of the checkbox into 'orange' (as seen here), but somehow, the function changed the color into 'pink' instead of 'orange'.

Any idea about this one? #-o

Regards,

Ken X.

  
guiSetProperty(mainGUI["checkbox"][i],"NormalTextColour","FFFF7F00") 
  

Link to comment

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
  • Recently Browsing   0 members

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