View Single Post
  #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