
-----------------------------------
unknowngiver
Thu May 25, 2006 7:21 pm

change color of a label?
-----------------------------------
Hey
How do i change the color of a label? i cant find that in the Reference :(
here is my  code for it:

        var addressLabel := GUI.CreateLabelFull (x_register - 50, 380, "Email:", 0, 0,
            GUI.RIGHT, font_register)


and font_register is :

var font_register : int := Font.New ("Tahmoa:10:bold")         %Font for main registration


-----------------------------------
jamonathin
Fri May 26, 2006 10:45 am


-----------------------------------
I don't believe you can.  If there's no GUI option to change color of the font (of buttons and etc), which I dont think there is, then there is no way - since you cannot assign a color in the command.

-----------------------------------
[Gandalf]
Sat May 27, 2006 12:07 pm


-----------------------------------
Indeed, I'm pretty sure the GUI elements are just stored as images, so unless you want to edit those it's impossible.

Why don't you just make your own custom GUI and use that?  Then you can have any option you can think of. :)  A few of these have already been posted, so you can look at those for reference, and you can also take a look at the "Classes" tutorials in the Turing Walkthrough to help you out.
