![]() |
Progress Bar
I was wondering how you would change the colors on a progress bar.
|
You can change the colors of a progress bar created with vizdlg or vizmenu by setting the object's theme. Take a look at the example script attached to post #3 of this thread to experiment with changing the theme. The following code changes the color of a progress bar by adding it to a vizinfo panel and changing the theme of the underlying vizdlg panel:
Code:
import viz |
Picking Colors for Progress Bar
Is there a table in which we can use to figure out the colors or is it based off of trial and error?:confused::confused::confused::confused:
|
Each of the theme properties takes normalized values for red, green, blue and alpha. Press 'Alt + 1' to open a color dialog in the Vizard IDE and insert RGB values into the script.
|
Progress Bar
Thank you! That really helps!:):):)
|
All times are GMT -7. The time now is 03:19 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC