Jump to content
Sign in to follow this  
the_lord_mephy

Edit Colors?

Recommended Posts

the_lord_mephy

Ok, This might be very obvious, and it's the third question I've asked today =\, how come I can't set the color of an edit? i did

$edit = GuiCtrlCreateEdit("Hi", 1, 1)
GuiCtrlSetColor(0xFFFFFF)

Of course I changed the background to black too, but neither of them work, it still comes up with a White background and black text.


My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote]

Share this post


Link to post
Share on other sites
jpm

Ok, This might be very obvious, and it's the third question I've asked today =\, how come I can't set the color of an edit? i did

$edit = GuiCtrlCreateEdit("Hi", 1, 1)
GuiCtrlSetColor(0xFFFFFF)

Of course I changed the background to black too, but neither of them work, it still comes up with a White background and black text.

<{POST_SNAPBACK}>

edit control cannot be painted next beta will return 0 saying the color has not be set

Share this post


Link to post
Share on other sites
the_lord_mephy

So, I have a readonly edit and the background is transparent by default and the text as well as the background are black, There's no fixing this?


My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote]

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  

×