Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 change color of a label?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
unknowngiver




PostPosted: 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 Sad
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
Sponsor
Sponsor
Sponsor
sponsor
jamonathin




PostPosted: 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.
[Gandalf]




PostPosted: 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. Smile 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.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: