WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-18-2010, 08:34 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -7. The time now is 08:31 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC