XWidgetSoft Forum
https://www.bbs.xwidget.com/

Change color progress bar by script code --- HOW???
https://www.bbs.xwidget.com/viewtopic.php?f=7&t=2931
Page 1 of 1

Author:  Armando [ April 12th, 2013, 4:14 am ]
Post subject:  Change color progress bar by script code --- HOW???

Hi!
I whant to change the progress bar color by script code.
how should I do?
This script might work?:

progressbar1.foregroundfill.solidcolor = rgba(103,103,103,255);

Thanks in advance!

Author:  kenneth112 [ April 12th, 2013, 6:22 am ]
Post subject:  Re: Change color progress bar by script code --- HOW???

foregroundfill solidcolor

progressbar1.fore.draw.solidcolor = rgba(103,103,103,255);



backgroundfill solidcolor

progressbar2.back.draw.solidcolor = rgba(103,103,103,255);

Author:  Armando [ April 12th, 2013, 9:11 am ]
Post subject:  Re: Change color progress bar by script code --- HOW???

Hey Kennet, thanks but doesn't works for me.
Can you check it? thanks again!

Author:  Armando [ April 14th, 2013, 4:46 am ]
Post subject:  Re: Change color progress bar by script code --- HOW???

Any other help to change color of progress bar by script code?

Author:  Tony [ April 14th, 2013, 6:30 am ]
Post subject:  Re: Change color progress bar by script code --- HOW???

Armando wrote:
Any other help to change color of progress bar by script code?


try this:

progressbar1.fore.draw.solidcolor.color = rgba(103,103,103,255);
progressbar2.back.draw.solidcolor.color = rgba(103,103,103,255);

Author:  Armando [ April 14th, 2013, 6:47 am ]
Post subject:  Re: Change color progress bar by script code --- HOW???

YESSSSS!! it works ;) Thanks Tony!!

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/