change color of a label?
Author |
Message |
unknowngiver
|
Posted: Thu May 25, 2006 7:21 pm Post subject: 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:
code: |
var addressLabel := GUI.CreateLabelFull (x_register - 50, 380, "Email:", 0, 0,
GUI.RIGHT, font_register)
|
and font_register is :
code: |
var font_register : int := Font.New ("Tahmoa:10:bold") %Font for main registration
|
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
jamonathin
![](http://compsci.ca/v3/uploads/user_avatars/57683465145f851a43dd9a.gif)
|
Posted: Fri May 26, 2006 10:45 am Post subject: (No subject) |
|
|
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. |
|
|
|
|
![](images/spacer.gif) |
[Gandalf]
![](http://compsci.ca/v3/uploads/user_avatars/189297994e4c716fec7f1.png)
|
Posted: Sat May 27, 2006 12:07 pm Post subject: (No subject) |
|
|
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. |
|
|
|
|
![](images/spacer.gif) |
|
|