Jump to content

Question about CaptionColour


Recommended Posts

Posted (edited)

Currently attempting to change the color of the title in my GUI Window.

I'm using

guiSetProperty( IMw, "CaptionColour", tocolor( 255, 0, 0 ) ) 

Unfortunately I don't believe that is the correct way to use it. It should provide a red color, but instead it provides a pink color.

w3Q8

The property it outputs is FFF9AACA which is an ARGB for 255 A, 249 R, 170 G, 202 B. That makes no sense considering I put 255, 0, 0.

w3PR --Same color as my title

So why is it using FF9AACA instead of FF0000? Am I using the property wrong?

EDIT - NVM this post, I was just being an idiot.

Works with

  
guiSetProperty( IMw, "CaptionColour", "FFFF0000" ) 
  

Edited by Guest
Posted
Try use "0xff0000" or "0xffff0000" (remove tocolor)

That doesn't work :P

I got it to work with FFFF0000. Tried it multiple times before and it wasn't working, guess I was forgetting a 0 or something the other times.

Works now though,

Thanks for the help.

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...