#1
|
|||
|
|||
Change textbox color?
I need to change the textbox color, background or font, to differentiate the enabled ones with the disabled ones. Searched the <node3d:GUI:textbox> commands, I didn't find the method. I can't believe vizard does not support this basic function. Does anyone know how to change the color of the textbox, please help. Thanks in advance
|
#2
|
|||
|
|||
You can customize the global theme to change the colors of all GUI objects. If you just want to change the color of a single textbox, then you can use the following code:
Code:
textbox.color(viz.RED,viz.TEXTBOX_BORDER) # red border textbox.color(viz.WHITE,viz.TEXTBOX_BACK) # white background textbox.color(viz.BLACK,viz.TEXTBOX_TEXT) # black text |
#3
|
|||
|
|||
The methods you provided are great and enough for our application.Thanks farshizzo! I am new with vizard, I got all the knolwedge just through vizard help. But I can not get the instruction of changing textbox color by searching from the help. So I was wandering if there any other documents available for learning this software or I just not get the right way to find the information in vizard help? Hope to get your advice. Thanks!
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
change the color of a specific part of an avatar? | Green | Vizard | 1 | 03-04-2010 08:28 AM |
Change Viewpoint in different scenes | lilio | Vizard | 1 | 08-28-2009 02:56 PM |
Change model alpha and memory leak | hosier | Vizard | 2 | 06-25-2009 10:55 AM |
Randomly and Continuously Change Avatar's Face Texture | Karla | Vizard | 4 | 08-22-2008 12:14 PM |
Changing the Color of On-the-Fly Objects | vjosh | Vizard | 1 | 01-04-2005 11:48 PM |